base\Behavior $owner

$owner public property The owner of this behavior public yii\base\Component $owner = null

base\ArrayAccessTrait offsetUnset()

offsetUnset() public method This method is required by the interface ArrayAccess. public void offsetUnset ( $offset )$offset mixed The offset to unset element

base\ArrayAccessTrait offsetSet()

offsetSet() public method This method is required by the interface ArrayAccess. public void offsetSet ( $offset, $item )$offset integer The offset to set element $item mixed The element value

base\ArrayAccessTrait offsetGet()

offsetGet() public method This method is required by the interface ArrayAccess. public mixed offsetGet ( $offset )$offset integer The offset to retrieve element. return mixed The element at the offset, null if no element is found at the offset

base\ArrayAccessTrait offsetExists()

offsetExists() public method This method is required by the interface ArrayAccess. public boolean offsetExists ( $offset )$offset mixed The offset to check on

base\ArrayAccessTrait getIterator()

getIterator() public method Returns an iterator for traversing the data. This method is required by the SPL interface IteratorAggregate. It will be implicitly called when you use foreach to traverse the collection. public ArrayIterator getIterator ( )return ArrayIterator An iterator for traversing the cookies in the collection.

base\ArrayAccessTrait count()

count() public method Returns the number of data items. This method is required by Countable interface. public integer count ( )return integer Number of data elements.

base\ArrayableTrait toArray()

toArray() public method Converts the model into an array. This method will first identify which fields to be included in the resulting array by calling resolveFields(). It will then turn the model into an array with these fields. If $recursive is true, any embedded objects will also be converted into arrays. If the model implements the yii\web\Linkable interface, the resulting array will also have a _link element which refers to a list of links as specified by the interface. public array

base\ArrayableTrait resolveFields()

resolveFields() protected method Determines which fields can be returned by toArray(). This method will check the requested fields against those declared in fields() and extraFields() to determine which fields can be returned. protected array resolveFields ( array $fields, array $expand )$fields array The fields being requested for exporting $expand array The additional fields being requested for exporting return array The list of fields to be exported. The array keys are the field n

base\ArrayableTrait fields()

fields() public method Returns the list of fields that should be returned by default by toArray() when no specific fields are specified. A field is a named element in the returned array by toArray(). This method should return an array of field names or field definitions. If the former, the field name will be treated as an object property name whose value will be used as the field value. If the latter, the array key should be the field name while the array value should be the corresponding f