Example #1
0
 protected function _validateCustom(Pengin_Form_Property $property)
 {
     $name = $property->getName();
     $name = Pengin_Inflector::pascalize($name);
     $customMethod = 'validate' . $name;
     if (method_exists($this, $customMethod) === true) {
         $this->{$customMethod}($property);
     }
 }