Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Member Functions | |
__get ($key) | |
Getter that handles passthrough access to the data array, and lazy object creation. | |
__isset ($key) | |
__unset ($key) | |
assertIsArray ($obj, $method) | |
Verify if $obj is an array. | |
getCount () | |
getCr () | |
getCref () | |
getCx () | |
getDateRestrict () | |
getDisableCnTwTranslation () | |
getExactTerms () | |
getExcludeTerms () | |
getFileType () | |
getFilter () | |
getGl () | |
getGoogleHost () | |
getHighRange () | |
getHl () | |
getHq () | |
getImgColorType () | |
getImgDominantColor () | |
getImgSize () | |
getImgType () | |
getInputEncoding () | |
getLanguage () | |
getLinkSite () | |
getLowRange () | |
getOrTerms () | |
getOutputEncoding () | |
getRelatedSite () | |
getRights () | |
getSafe () | |
getSearchTerms () | |
getSearchType () | |
getSiteSearch () | |
getSiteSearchFilter () | |
getSort () | |
getStartIndex () | |
getStartPage () | |
getTitle () | |
getTotalResults () | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
setCount ($count) | |
setCr ($cr) | |
setCref ($cref) | |
setCx ($cx) | |
setDateRestrict ($dateRestrict) | |
setDisableCnTwTranslation ($disableCnTwTranslation) | |
setExactTerms ($exactTerms) | |
setExcludeTerms ($excludeTerms) | |
setFileType ($fileType) | |
setFilter ($filter) | |
setGl ($gl) | |
setGoogleHost ($googleHost) | |
setHighRange ($highRange) | |
setHl ($hl) | |
setHq ($hq) | |
setImgColorType ($imgColorType) | |
setImgDominantColor ($imgDominantColor) | |
setImgSize ($imgSize) | |
setImgType ($imgType) | |
setInputEncoding ($inputEncoding) | |
setLanguage ($language) | |
setLinkSite ($linkSite) | |
setLowRange ($lowRange) | |
setOrTerms ($orTerms) | |
setOutputEncoding ($outputEncoding) | |
setRelatedSite ($relatedSite) | |
setRights ($rights) | |
setSafe ($safe) | |
setSearchTerms ($searchTerms) | |
setSearchType ($searchType) | |
setSiteSearch ($siteSearch) | |
setSiteSearchFilter ($siteSearchFilter) | |
setSort ($sort) | |
setStartIndex ($startIndex) | |
setStartPage ($startPage) | |
setTitle ($title) | |
setTotalResults ($totalResults) | |
toSimpleObject () | |
Create a simplified object suitable for straightforward conversion to JSON. | |
Public Attributes | |
$count | |
$cr | |
$cref | |
$cx | |
$dateRestrict | |
$disableCnTwTranslation | |
$exactTerms | |
$excludeTerms | |
$fileType | |
$filter | |
$gl | |
$googleHost | |
$highRange | |
$hl | |
$hq | |
$imgColorType | |
$imgDominantColor | |
$imgSize | |
$imgType | |
$inputEncoding | |
$language | |
$linkSite | |
$lowRange | |
$orTerms | |
$outputEncoding | |
$relatedSite | |
$rights | |
$safe | |
$searchTerms | |
$searchType | |
$siteSearch | |
$siteSearchFilter | |
$sort | |
$startIndex | |
$startPage | |
$title | |
$totalResults | |
const | NULL_VALUE = "{}gapi-php-null" |
If you need to specify a NULL JSON value, use Google_Model\NULL_VALUE instead - it will be replaced when converting to JSON with a real null. | |
Protected Member Functions | |
dataType ($key) | |
gapiInit () | |
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors. | |
isAssociativeArray ($array) | |
Returns true only if the array is associative. | |
keyType ($key) | |
mapTypes ($array) | |
Initialize this object's properties from an array. | |
Protected Attributes | |
$internal_gapi_mappings | |
$modelData = array() | |
$processed = array() | |
|
inherited |
Getter that handles passthrough access to the data array, and lazy object creation.
string | $key | Property name. |
mixed | The value if any, or null. |
|
inherited |
Verify if $obj is an array.
Google_Exception | Thrown if $obj isn't an array. |
array | $obj | Items that should be validated. |
string | $method | Method expecting an array as an argument. |
|
protectedinherited |
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
Reimplemented in Google_Service_MapsEngine_GeoJsonGeometryCollection, Google_Service_MapsEngine_GeoJsonLineString, Google_Service_MapsEngine_GeoJsonMultiLineString, Google_Service_MapsEngine_GeoJsonMultiPoint, Google_Service_MapsEngine_GeoJsonMultiPolygon, Google_Service_MapsEngine_GeoJsonPoint, Google_Service_MapsEngine_GeoJsonPolygon, Google_Service_MapsEngine_MapFolder, Google_Service_MapsEngine_MapKmlLink, and Google_Service_MapsEngine_MapLayer.
|
protectedinherited |
Returns true only if the array is associative.
array | $array |
bool | True if the array is associative. |
|
protectedinherited |
Initialize this object's properties from an array.
array | $array | Used to seed this object's properties. |
void |
|
inherited |
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.
|
protected |