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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.