db\ActiveRecordInterface getAttribute()

getAttribute() public abstract method

Returns the named attribute value.

If this record is the result of a query and the attribute is not loaded, null will be returned.

See also hasAttribute().

public abstract mixed getAttribute ( $name )
$name string

The attribute name

return mixed

The attribute value. null if the attribute is not set or does not exist.

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

Please login to continue.