protected function getColumnFromTable($name) { if ($this->table !== '%s' && preg_match('(^' . str_replace('%s', '(.*)', preg_quote($this->table)) . '\\z)', $name, $match)) { return $match[1]; } return $name; }