PHP Class dosamigos\taggable\Taggable

Author: Alexander Kochetov ([email protected])
Author: Antonio Ramirez ([email protected])
Inheritance: extends yii\base\Behavior
Datei anzeigen 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_oe property

public bool $asArray
return boolean

$attribute public_oe property

public string $attribute
return string

$frequency public_oe property

public string $frequency
return string

$name public_oe property

public string $name
return string

$owner public_oe property

the owner of this behavior.
public $owner

$relation public_oe property

public string $relation
return string

$tagValues public_oe property

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