示例#1
0
 /**
  * Checks to see if the given field name is valid
  * @param string $fieldName
  * @returns boolean
  */
 protected function isValidFieldName($fieldName)
 {
     switch ($fieldName) {
         case 'parent':
         case 'last_modified':
         case 'created':
             return false;
         default:
             return parent::isValidFieldName($fieldName);
     }
 }