- Timestamp:
- 08/20/08 20:28:17 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/utils/copix/dao/CopixDAODefinitionBuilder.class.php
r2870 r3159 167 167 $champAjoute[] = (isset ($field['fieldName'])) ? $field['fieldName'] : $field['name']; 168 168 } 169 foreach ($fields as $field) { 170 if (in_array ($field->name, $champAjoute)) { 171 continue; 172 } 173 $definition->addProperty (new CopixPropertyForDAO ($field, $definition)); 174 } 175 } else { 176 throw new Exception (_i18n ('copix:dao.error.definitionfile.properties.missing')); 177 } 169 } 170 foreach ($fields as $field) { 171 if (in_array ($field->name, $champAjoute)) { 172 continue; 173 } 174 $definition->addProperty (new CopixPropertyForDAO ($field, $definition)); 175 } 176 178 177 //Ajout des méthodes 179 178 if (isset ($parsedFile->methods) && isset ($parsedFile->methods->method)) {
