Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (array $data=array(), Parameter $structure=null) | |
__toString () | |
getStructure () | |
![]() | |
__construct (array $data=array()) | |
add ($key, $value) | |
clear () | |
count () | |
filter (\Closure $closure, $static=true) | |
get ($key) | |
getAll (array $keys=null) | |
getIterator () | |
getKeys () | |
getPath ($path, $separator='/', $data=null) | |
hasKey ($key) | |
hasValue ($value) | |
inject ($input) | |
keySearch ($key) | |
map (\Closure $closure, array $context=array(), $static=true) | |
merge ($data) | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
overwriteWith ($data) | |
remove ($key) | |
replace (array $data) | |
set ($key, $value) | |
setPath ($path, $value) | |
toArray () | |
Protected Attributes | |
$structure | |
![]() | |
$data | |
Additional Inherited Members | |
![]() | |
static | fromConfig (array $config=array(), array $defaults=array(), array $required=array()) |
Default model created when commands create service description model responses
Guzzle\Service\Resource\Model::__construct | ( | array | $data = array() , |
Parameter | $structure = null |
||
) |
array | $data | Data contained by the model |
Parameter | $structure | The structure of the model |
Definition at line 23 of file Model.php.
References Guzzle\Common\Collection\$data, and Guzzle\Service\Resource\Model\$structure.
Guzzle\Service\Resource\Model::__toString | ( | ) |
Provides debug information about the model object
Definition at line 44 of file Model.php.
References Guzzle\Common\Collection\toArray().
Guzzle\Service\Resource\Model::getStructure | ( | ) |
|
protected |
Structure of the model
Definition at line 17 of file Model.php.
Referenced by Guzzle\Service\Resource\Model\__construct().