Ticket #3476: propel-build-forms-behaviors.patch
| File propel-build-forms-behaviors.patch, 0.9 kB (added by Kris.Wallsmith, 2 months ago) |
|---|
-
lib/plugins/sfPropelPlugin/lib/propel/generator/sfPropelFormGenerator.class.php
old new 80 80 // create a form class for every Propel class 81 81 foreach ($this->dbMap->getTables() as $tableName => $table) 82 82 { 83 try 84 { 85 // trigger the include_once of any behaviors now, and catch the 86 // exception that is thrown due to no plugin behaviors having been 87 // registered 88 class_exists($table->getPhpName()); 89 } 90 catch (sfConfigurationException $e) 91 { 92 } 93 83 94 $this->table = $table; 84 95 85 96 // find the package to store forms in the same directory as the model classes