Development

Changeset 3646

You must first sign up to be able to contribute.

Changeset 3646

Show
Ignore:
Timestamp:
03/20/07 17:03:46 (6 years ago)
Author:
tristan
Message:

sfPropelUuidBehaviorPlugin :

  • fixed typo
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelUuidBehaviorPlugin/README

    r3642 r3646  
    7777== Changelog == 
    7878 
     79=== 2007-03-20 | trunk === 
     80 
     81 * fixed typo 
     82 
    7983=== 2007-03-20 | 0.9 beta === 
    8084 
  • plugins/sfPropelUuidBehaviorPlugin/lib/sfPropelUuidBehavior.class.php

    r3642 r3646  
    8585  private static function getColumnConstant($resource_class, $column) 
    8686  { 
    87     $conf_directive = sprintf('propel_behavior_sfPropelUuidBehaviorPlugin_%s_columns', $resource_class); 
     87    $conf_directive = sprintf('propel_behavior_sfPropelUuidBehavior_%s_columns', $resource_class); 
    8888    $columns = sfConfig::get($conf_directive); 
    8989 
    9090    return $columns[$column];     
    9191  } 
    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  } 
    93104}