Class lispa\amos\cwh\behaviors\CwhNetworkBehaviors
Inheritance | lispa\amos\cwh\behaviors\CwhNetworkBehaviors » yii\behaviors\AttributeBehavior » yii\base\Behavior » yii\base\Object |
---|---|
Implements | yii\base\Configurable |
Class CwhNetworkBehaviors
Public Properties
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
getValue() | Returns the value for the current attributes. | yii\behaviors\AttributeBehavior |
Property Details
Method Details
Find the publication CwhPubblicazioni associated to the model if exists delete related validators and editors and at last delete publication itself
public void eventBeforeDelete ( yii\base\Event $event ) | ||
$event | yii\base\Event |
public void eventBeforeValidate ( yii\base\Event $event ) | ||
$event | yii\base\Event | Valida i campi obbligatori per la regola di pubblicazione |
public void eventFind ( yii\base\Event $event ) | ||
$event | yii\base\Event |
public void eventSavePubblicazione ( yii\base\Event $event ) | ||
$event | yii\base\Event |
public array events ( ) |
Deprecated since version 2.1.0:
See also lispa\amos\cwh\behaviors\CwhNetworkBehaviors::getTarget().
public array getDestinatari ( ) | ||
return | array | List of targets publisher |
---|
public array getDraftingValidators ( ) |
public string getNetworkPubblicazione ( ) |
public integer getPublishingRule ( ) |
public mixed getRecipientsQuery ( ) |
Deprecated since version 2.1.0:
public string getRegolaPubblicazione ( ) |
public array getTargets ( ) |
Deprecated since version 2.1.0:
public array getValidatori ( ) |
Deprecated since version 2.1.0:
public void setDestinatari ( $destinatari ) | ||
$destinatari | array |
public void setDraftingValidators ( $draftingValidators ) | ||
$draftingValidators | array |
public void setPublishingRule ( $publishingRule ) | ||
$publishingRule | integer |
public void setTargets ( $targets ) | ||
$targets | array |
Deprecated since version 2.1.0:
public void setValidatori ( $validatori ) | ||
$validatori | array |