Class lispa\amos\cwh\behaviors\CwhNetworkBehaviors

Inheritancelispa\amos\cwh\behaviors\CwhNetworkBehaviors » yii\behaviors\AttributeBehavior » yii\base\Behavior » yii\base\Object
Implementsyii\base\Configurable

Class CwhNetworkBehaviors

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Calls the named method which is not a class method. yii\base\Object
__construct() Constructor. yii\base\Object
__get() Returns the value of an object property. yii\base\Object
__isset() Checks if a property is set, i.e. defined and not null. yii\base\Object
__set() Sets value of an object property. yii\base\Object
__unset() Sets an object property to null. yii\base\Object
attach() Attaches the behavior object to the component. yii\base\Behavior
canGetProperty() Returns a value indicating whether a property can be read. yii\base\Object
canSetProperty() Returns a value indicating whether a property can be set. yii\base\Object
className() Returns the fully qualified name of this class. yii\base\Object
detach() Detaches the behavior object from the component. yii\base\Behavior
evaluateAttributes() Evaluates the attribute value and assigns it to the current attributes. yii\behaviors\AttributeBehavior
eventBeforeDelete() Find the publication CwhPubblicazioni associated to the model if exists delete related validators and editors and at last delete publication itself lispa\amos\cwh\behaviors\CwhNetworkBehaviors
eventBeforeValidate() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
eventFind() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
eventSavePubblicazione() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
events() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getDestinatari() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getDraftingValidators() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getNetworkPubblicazione() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getPublishingRule() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getRecipientsQuery() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getRegolaPubblicazione() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getTargets() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
getValidatori() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
hasMethod() Returns a value indicating whether a method is defined. yii\base\Object
hasProperty() Returns a value indicating whether a property is defined. yii\base\Object
init() Initializes the object. yii\base\Object
setDestinatari() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
setDraftingValidators() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
setPublishingRule() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
setTargets() lispa\amos\cwh\behaviors\CwhNetworkBehaviors
setValidatori() lispa\amos\cwh\behaviors\CwhNetworkBehaviors

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getValue() Returns the value for the current attributes. yii\behaviors\AttributeBehavior

Property Details

$destinatari public property
public array getDestinatari ( )
public void setDestinatari ( $destinatari )
$draftingValidators public property
public array getDraftingValidators ( )
public void setDraftingValidators ( $draftingValidators )
$networkPubblicazione public read-only property
$publishingRule public property
public integer getPublishingRule ( )
public void setPublishingRule ( $publishingRule )
$recipientsQuery public read-only property
public mixed getRecipientsQuery ( )
$regolaPubblicazione public read-only property
$regola_pubblicazione public property
public $regola_pubblicazione null
$tags public property
public array $tags = ['rootId' => 1]
$targets public property
public array getTargets ( )
public void setTargets ( $targets )
$tipologia_pubblicazione public property
$validatori public property
public array getValidatori ( )
public void setValidatori ( $validatori )

Method Details

eventBeforeDelete() public method

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
eventBeforeValidate() public method

public void eventBeforeValidate ( yii\base\Event $event )
$event yii\base\Event

Valida i campi obbligatori per la regola di pubblicazione

eventFind() public method

public void eventFind ( yii\base\Event $event )
$event yii\base\Event
eventSavePubblicazione() public method

public void eventSavePubblicazione ( yii\base\Event $event )
$event yii\base\Event
events() public method

public array events ( )
getDestinatari() public method
Deprecated since version 2.1.0:

See also lispa\amos\cwh\behaviors\CwhNetworkBehaviors::getTarget().

public array getDestinatari ( )
return array

List of targets publisher

getDraftingValidators() public method

public array getDraftingValidators ( )
getNetworkPubblicazione() public method

public string getNetworkPubblicazione ( )
getPublishingRule() public method

public integer getPublishingRule ( )
getRecipientsQuery() public method

public mixed getRecipientsQuery ( )
getRegolaPubblicazione() public method
Deprecated since version 2.1.0:
public string getRegolaPubblicazione ( )
getTargets() public method

public array getTargets ( )
getValidatori() public method
Deprecated since version 2.1.0:
public array getValidatori ( )
setDestinatari() public method
Deprecated since version 2.1.0:
public void setDestinatari ( $destinatari )
$destinatari array
setDraftingValidators() public method

public void setDraftingValidators ( $draftingValidators )
$draftingValidators array
setPublishingRule() public method

public void setPublishingRule ( $publishingRule )
$publishingRule integer
setTargets() public method

public void setTargets ( $targets )
$targets array
setValidatori() public method
Deprecated since version 2.1.0:
public void setValidatori ( $validatori )
$validatori array