PHP Class dosamigos\taggable\Taggable

Author: Alexander Kochetov ([email protected])
Author: Antonio Ramirez ([email protected])
Inheritance: extends yii\base\Behavior
Show file Open project: 2amigos/yii2-taggable-behavior Class Usage Examples

Public Properties

Property Type Description
$asArray boolean
$attribute string
$frequency string
$name string
$owner the owner of this behavior.
$relation string
$tagValues array | string Tag values

Public Methods

Method Description
__get ( $name )
__set ( $name, $value )
afterSave ( Event $event )
beforeDelete ( Event $event )
canGetProperty ( $name, $checkVars = true )
canSetProperty ( $name, $checkVars = true )
events ( )

Private Methods

Method Description
getTagNames ( )

Method Details

__get() public method

public __get ( $name )

__set() public method

public __set ( $name, $value )

afterSave() public method

public afterSave ( Event $event )
$event yii\base\Event

beforeDelete() public method

public beforeDelete ( Event $event )
$event yii\base\Event

canGetProperty() public method

public canGetProperty ( $name, $checkVars = true )

canSetProperty() public method

public canSetProperty ( $name, $checkVars = true )

events() public method

public events ( )

Property Details

$asArray public property

public bool $asArray
return boolean

$attribute public property

public string $attribute
return string

$frequency public property

public string $frequency
return string

$name public property

public string $name
return string

$owner public property

the owner of this behavior.
public $owner

$relation public property

public string $relation
return string

$tagValues public property

Tag values
public array|string $tagValues
return array | string