db\BaseActiveRecord __get()

__get() public method

PHP getter magic method.

This method is overridden so that attributes and related objects can be accessed like properties.

See also getAttribute().

public mixed __get ( $name )
$name string

Property name

return mixed

Property value

throws yii\base\InvalidParamException

if relation name is wrong

doc_Yii
2016-10-30 16:56:59
Comments
Leave a Comment

Please login to continue.