protected function _splitFieldname($field) { $regex = '/^([a-z0-9_-]+)\\.([a-z 0-9_-]+|\\*)$/iS'; if (strpos($field, '.') !== false && preg_match($regex, $field, $matches)) { return array($matches[1], $matches[2]); } return array(null, $field); }