public function _hasMethod($method, $getFuzzy = false, $returnErrors = false) { //this is b/c of the laziness above //examples: I2CE_FormField_DB_STRING_DISPLAYFIELDSTYLE_in if (preg_match('/^([0-9a-zA-Z_]+)_([a-zA-Z]+)FIELDSTYLE_([0-9a-zA-Z_]+)$/', $method, $matches)) { //we will never have $getFuzzy = true since we overide __call() as well return true; } else { if (preg_match('/^DATE_([a-zA-Z]+)_DATE_([a-zA-Z]+)_([a-zA-Z_]+?)$/', $method, $matches)) { if (array_key_exists($matches[1], self::$dateActions) && array_key_exists('DATE_' . $matches[2], self::$dateTypes)) { if ($matches[3] == 'between') { return true; } else { if (array_key_exists($matches[3], self::$dateOperatorMaps)) { return true; } } } } } return parent::_hasMethod($method, $getFuzzy, $returnErrors); }