Метод |
Описание |
|
_decode ( array | null $val ) : array | null | false |
Fields are absolutely necessary to function properly! |
|
_encode ( array | string $val ) : string | null |
|
|
_fromList ( string $val ) : array |
|
|
_fromParam ( string $val ) : array |
|
|
_toList ( array $val ) : string |
array() => value1|value2|value3|. |
|
_toParam ( array $val ) : string |
array() => param1:value1|param2:value2|. |
|
beforeFind ( Cake\Event\Event $event, Query $query ) : void |
Decode the fields on after find |
|
beforeSave ( Cake\Event\Event $event, Cake\ORM\Entity $entity, ArrayObject $options ) : void |
Saves all fields that do not belong to the current Model into 'with' helper model. |
|
decodeItems ( Cake\ORM\Entity $entity ) : void |
Decodes the fields of an array/entity (if the value itself was encoded) |
|
initialize ( array $config = [] ) : void |
|
|
isEncoded ( string $str ) : boolean |
Checks if string is encoded array/object |
|