PHP Classes

typo in ModelGenerator

Recommend this page to a friend!

      PHP Model Class Generator  >  All threads  >  typo in ModelGenerator  >  (Un) Subscribe thread alerts  
Subject:typo in ModelGenerator
Summary:Line #44 should use schema instead of string variable
Messages:2
Author:Boris
Date:2017-10-04 08:47:23
 

  1. typo in ModelGenerator   Reply   Report abuse  
Picture of Boris Boris - 2017-10-04 08:47:23
Line #44 in function getAllTables: should be preg_match_all($pattern, $schema, $matches); instead of preg_match_all($pattern, $string, $matches);

  2. Re: typo in ModelGenerator   Reply   Report abuse  
Picture of Lucas Figueiredo Lucas Figueiredo - 2017-10-04 18:10:42 - In reply to message 1 from Boris
updated class with regular expression fix. Try new version