Ejemplo n.º 1
0
 /**
  * Gets a specific propel (renamed) property from the build.
  *
  * @param      string $name
  * @return     mixed
  */
 protected function getBuildProperty($name)
 {
     if ($this->generatorConfig !== null) {
         return $this->generatorConfig->getBuildProperty($name);
     }
     return null;
 }
Ejemplo n.º 2
0
 public function setGeneratorConfig(GeneratorConfig $generatorConfig)
 {
     if ($defaultTableEngine = $generatorConfig->getBuildProperty('mysqlTableType')) {
         $this->defaultTableEngine = $defaultTableEngine;
     }
     if ($tableEngineKeyword = $generatorConfig->getBuildProperty('mysqlTableEngineKeyword')) {
         $this->tableEngineKeyword = $tableEngineKeyword;
     }
 }
 /**
  * Gets a specific propel (renamed) property from the build.
  *
  * @param  string $name
  * @return mixed
  */
 public function getBuildProperty($name)
 {
     if (null !== $this->generatorConfig) {
         return $this->generatorConfig->getBuildProperty($name);
     }
     return null;
 }