protected function validate($value) { $valueArray = explode(".", $value); parent::validate($valueArray[0]); if (!preg_match("/^([a-zA-Z0-9:_-]+\\.)?[a-zA-Z0-9:_-]+\$/is", $value)) { throw new ErrorException("Invalid table-specifier given: '{$value}'!"); } }