/** * {@inheritDoc} */ public function toString(Quoter $quoter) { if (isset($this->model)) { return $quoter->quoteModel($this->model) . '.' . $quoter->quoteField($this->field); } return $quoter->quoteField($this->field); }
/** * {@inheritDoc} */ public function toString(Quoter $quoter) { $values = $this->values; foreach ($values as $key => $v) { $values[$key] = $quoter->quoteLiteral($this->type, $v); } return '(' . implode(', ', $values) . ')'; }
/** * {@inheritdoc} */ public function toString(Quoter $quoter) { $str = ''; if (isset($this->model)) { if ($this->quoteModel) { $str = $quoter->quoteModel($this->model) . '.'; } else { $str = $this->model . '.'; } } if ($this->quoteField) { $str .= $quoter->quoteField($this->field); } else { $str .= $this->field; } return $str; }
/** * {@inheritdoc} */ public function toString(Quoter $quoter) { return $quoter->quoteLiteral($this->type, $this->value); }