Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
atk4
data
Reference_SQL_One
withTitle
atk4\data\Reference_SQL_One::withTitle PHP Method
Reference_SQL_One Class Documentation
Show file
Open project: atk4/data
withTitle()
public
method
$order->hasOne('user_id', 'User')->addTitle(); This will add expression 'user' equal to ref('user_id')['name'];
public
withTitle
(
array
$defaults
= [] )
$defaults
array
Properties
public function withTitle($defaults = []) { $this->addTitle($defaults); return $this; }
Reference_SQL_One
addField
addFields
addTitle
ref
refLink
withTitle