Changeset 3646
- Timestamp:
- 03/20/07 17:03:46 (6 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfPropelUuidBehaviorPlugin/README
r3642 r3646 77 77 == Changelog == 78 78 79 === 2007-03-20 | trunk === 80 81 * fixed typo 82 79 83 === 2007-03-20 | 0.9 beta === 80 84 plugins/sfPropelUuidBehaviorPlugin/lib/sfPropelUuidBehavior.class.php
r3642 r3646 85 85 private static function getColumnConstant($resource_class, $column) 86 86 { 87 $conf_directive = sprintf('propel_behavior_sfPropelUuidBehavior Plugin_%s_columns', $resource_class);87 $conf_directive = sprintf('propel_behavior_sfPropelUuidBehavior_%s_columns', $resource_class); 88 88 $columns = sfConfig::get($conf_directive); 89 89 90 90 return $columns[$column]; 91 91 } 92 92 93 public static function checkConfig($parameters, $class) 94 { 95 if (isset($parameters['columns'])) 96 { 97 if (!is_array($parameters['columns'])) 98 { 99 $msg = sprintf('{%s} "column" parameter must be an array of propel column constants.', __CLASS__); 100 throw new sfConfigurationException($msg); 101 } 102 } 103 } 93 104 }