PHP Class skeeks\cms\behaviors\RelationalBehavior

Inheritance: extends yii\base\Behavior
Show file Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$owner yii\db\ActiveRecord

Public Methods

Method Description
__set ( $name, $value )
attach ( $owner )
canSetProperty ( $name, $checkVars = true )
events ( )
saveRelations ( $event )

Method Details

__set() public method

public __set ( $name, $value )

attach() public method

public attach ( $owner )

canSetProperty() public method

public canSetProperty ( $name, $checkVars = true )

events() public method

public events ( )

saveRelations() public method

public saveRelations ( $event )

Property Details

$owner public property

public ActiveRecord,yii\db $owner
return yii\db\ActiveRecord