Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
lithium
data
model
Relationship
__call
lithium\data\model\Relationship::__call PHP Method
Relationship Class Documentation
显示文件
Open project: unionofrad/lithium
__call()
public
method
Allows relationship configuration items to be queried by name as methods.
public
__call
(
string
$name
,
array
$args
= [] ) :
mixed
$name
string
The name of the configuration item to query.
$args
array
Unused.
return
mixed
Returns the value of the given configuration item.
public function __call($name, $args = array()) { return $this->data($name); }
Relationship
__call
__construct
_init
_keys
_strategies
data
foreignKey
get
query
respondsTo