Class lispa\amos\core\behaviors\EJsonBehavior

Inheritancelispa\amos\core\behaviors\EJsonBehavior » yii\base\Behavior » yii\base\Object
Implementsyii\base\Configurable

Class EJsonBehavior

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$owner yii\base\Component|null The owner of this behavior yii\base\Behavior

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
events() Declares event handlers for the $owner's events. yii\base\Behavior
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
toJSON() Get related attributes in JSON format lispa\amos\core\behaviors\EJsonBehavior

Method Details

toJSON() public method

Get related attributes in JSON format

public string toJSON ( )