コード例 #1
0
ファイル: Tables.php プロジェクト: serbinario/scSerbinario
 /**
  * @param null $compileRelations
  */
 public static function write($compileModel)
 {
     $schema = $compileModel;
     $path = "../" . self::$dirProject . self::$pathFile . self::$nameClasseSingular . ".php";
     self::$nameClasseSingular = "";
     Generic::saveTo($path, $schema);
 }
コード例 #2
0
 public function writeClass($path, $schema)
 {
     Generic::saveTo($path, $schema);
     //Lipo todas as variaveis
     Generic::clearReplacements();
 }