[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 250 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Google_Model:: (16 methods):
__construct()
__get()
mapTypes()
toSimpleObject()
getSimpleValue()
isAssociativeArray()
createObjectFromName()
assertIsArray()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
keyType()
dataType()
__isset()
__unset()
Class: Google_Model - X-Ref
This class defines attributes, valid values, and usage which is generated__construct() X-Ref |
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass. |
__get($key) X-Ref |
No description |
mapTypes($array) X-Ref |
Initialize this object's properties from an array. param: array $array Used to seed this object's properties. return: void |
toSimpleObject() X-Ref |
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter. |
getSimpleValue($value) X-Ref |
Handle different types of values, primarily other objects and map and array data types. |
isAssociativeArray($array) X-Ref |
Returns true only if the array is associative. param: array $array return: bool True if the array is associative. |
createObjectFromName($name, $item) X-Ref |
Given a variable name, discover its type. param: $name param: $item return: object The object from the item. |
assertIsArray($obj, $method) X-Ref |
Verify if $obj is an array. param: array $obj Items that should be validated. param: string $method Method expecting an array as an argument. |
offsetExists($offset) X-Ref |
No description |
offsetGet($offset) X-Ref |
No description |
offsetSet($offset, $value) X-Ref |
No description |
offsetUnset($offset) X-Ref |
No description |
keyType($key) X-Ref |
No description |
dataType($key) X-Ref |
No description |
__isset($key) X-Ref |
No description |
__unset($key) X-Ref |
No description |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |