/** * @return mixed */ private function getTable() { $tables = QueryBuilder::escapeFields(array($this->table)); return array_shift($tables); }
/** * @param string $field * @param string $order */ public function __construct($field, $order = self::ASC) { $field = QueryBuilder::escapeFields(array($field)); $this->field = array_shift($field); $this->order = $order; }
/** * @return mixed */ private function getField() { $fields = QueryBuilder::escapeFields(array($this->field)); return array_shift($fields); }