|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
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. | |
| count () | |
| current () | |
| getAlternateLink () | |
| getAppDataContents () | |
| getCanComment () | |
| getCopyable () | |
| getCreatedDate () | |
| getDefaultOpenWithLink () | |
| getDescription () | |
| getDownloadUrl () | |
| getEditable () | |
| getEmbedLink () | |
| getEtag () | |
| getExplicitlyTrashed () | |
| getExportLinks () | |
| getFileExtension () | |
| getFileSize () | |
| getFolderColorRgb () | |
| getFullFileExtension () | |
| getHeadRevisionId () | |
| getIconLink () | |
| getId () | |
| getImageMediaMetadata () | |
| getIndexableText () | |
| getKind () | |
| getLabels () | |
| getLastModifyingUser () | |
| getLastModifyingUserName () | |
| getLastViewedByMeDate () | |
| getMarkedViewedByMeDate () | |
| getMd5Checksum () | |
| getMimeType () | |
| getModifiedByMeDate () | |
| getModifiedDate () | |
| getOpenWithLinks () | |
| getOriginalFilename () | |
| getOwnedByMe () | |
| getOwnerNames () | |
| getOwners () | |
| getParents () | |
| getPermissions () | |
| getProperties () | |
| getQuotaBytesUsed () | |
| getSelfLink () | |
| getShareable () | |
| getShared () | |
| getSharedWithMeDate () | |
| getSharingUser () | |
| getSpaces () | |
| getThumbnail () | |
| getThumbnailLink () | |
| getTitle () | |
| getUserPermission () | |
| getVersion () | |
| getVideoMediaMetadata () | |
| getWebContentLink () | |
| getWebViewLink () | |
| getWritersCanShare () | |
| key () | |
| next () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| rewind () | |
| setAlternateLink ($alternateLink) | |
| setAppDataContents ($appDataContents) | |
| setCanComment ($canComment) | |
| setCopyable ($copyable) | |
| setCreatedDate ($createdDate) | |
| setDefaultOpenWithLink ($defaultOpenWithLink) | |
| setDescription ($description) | |
| setDownloadUrl ($downloadUrl) | |
| setEditable ($editable) | |
| setEmbedLink ($embedLink) | |
| setEtag ($etag) | |
| setExplicitlyTrashed ($explicitlyTrashed) | |
| setExportLinks ($exportLinks) | |
| setFileExtension ($fileExtension) | |
| setFileSize ($fileSize) | |
| setFolderColorRgb ($folderColorRgb) | |
| setFullFileExtension ($fullFileExtension) | |
| setHeadRevisionId ($headRevisionId) | |
| setIconLink ($iconLink) | |
| setId ($id) | |
| setImageMediaMetadata (Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata) | |
| setIndexableText (Google_Service_Drive_DriveFileIndexableText $indexableText) | |
| setKind ($kind) | |
| setLabels (Google_Service_Drive_DriveFileLabels $labels) | |
| setLastModifyingUser (Google_Service_Drive_User $lastModifyingUser) | |
| setLastModifyingUserName ($lastModifyingUserName) | |
| setLastViewedByMeDate ($lastViewedByMeDate) | |
| setMarkedViewedByMeDate ($markedViewedByMeDate) | |
| setMd5Checksum ($md5Checksum) | |
| setMimeType ($mimeType) | |
| setModifiedByMeDate ($modifiedByMeDate) | |
| setModifiedDate ($modifiedDate) | |
| setOpenWithLinks ($openWithLinks) | |
| setOriginalFilename ($originalFilename) | |
| setOwnedByMe ($ownedByMe) | |
| setOwnerNames ($ownerNames) | |
| setOwners ($owners) | |
| setParents ($parents) | |
| setPermissions ($permissions) | |
| setProperties ($properties) | |
| setQuotaBytesUsed ($quotaBytesUsed) | |
| setSelfLink ($selfLink) | |
| setShareable ($shareable) | |
| setShared ($shared) | |
| setSharedWithMeDate ($sharedWithMeDate) | |
| setSharingUser (Google_Service_Drive_User $sharingUser) | |
| setSpaces ($spaces) | |
| setThumbnail (Google_Service_Drive_DriveFileThumbnail $thumbnail) | |
| setThumbnailLink ($thumbnailLink) | |
| setTitle ($title) | |
| setUserPermission (Google_Service_Drive_Permission $userPermission) | |
| setVersion ($version) | |
| setVideoMediaMetadata (Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata) | |
| setWebContentLink ($webContentLink) | |
| setWebViewLink ($webViewLink) | |
| setWritersCanShare ($writersCanShare) | |
| toSimpleObject () | |
| Create a simplified object suitable for straightforward conversion to JSON. | |
| valid () | |
Public Attributes | |
| $alternateLink | |
| $appDataContents | |
| $canComment | |
| $copyable | |
| $createdDate | |
| $defaultOpenWithLink | |
| $description | |
| $downloadUrl | |
| $editable | |
| $embedLink | |
| $etag | |
| $explicitlyTrashed | |
| $exportLinks | |
| $fileExtension | |
| $fileSize | |
| $folderColorRgb | |
| $fullFileExtension | |
| $headRevisionId | |
| $iconLink | |
| $id | |
| $kind | |
| $lastModifyingUserName | |
| $lastViewedByMeDate | |
| $markedViewedByMeDate | |
| $md5Checksum | |
| $mimeType | |
| $modifiedByMeDate | |
| $modifiedDate | |
| $openWithLinks | |
| $originalFilename | |
| $ownedByMe | |
| $ownerNames | |
| $quotaBytesUsed | |
| $selfLink | |
| $shareable | |
| $shared | |
| $sharedWithMeDate | |
| $spaces | |
| $thumbnailLink | |
| $title | |
| $version | |
| $webContentLink | |
| $webViewLink | |
| $writersCanShare | |
| 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 | |
| $collection_key = 'spaces' | |
| $imageMediaMetadataDataType = '' | |
| $imageMediaMetadataType = 'Google_Service_Drive_DriveFileImageMediaMetadata' | |
| $indexableTextDataType = '' | |
| $indexableTextType = 'Google_Service_Drive_DriveFileIndexableText' | |
| $internal_gapi_mappings | |
| $labelsDataType = '' | |
| $labelsType = 'Google_Service_Drive_DriveFileLabels' | |
| $lastModifyingUserDataType = '' | |
| $lastModifyingUserType = 'Google_Service_Drive_User' | |
| $modelData = array() | |
| $ownersDataType = 'array' | |
| $ownersType = 'Google_Service_Drive_User' | |
| $parentsDataType = 'array' | |
| $parentsType = 'Google_Service_Drive_ParentReference' | |
| $permissionsDataType = 'array' | |
| $permissionsType = 'Google_Service_Drive_Permission' | |
| $processed = array() | |
| $propertiesDataType = 'array' | |
| $propertiesType = 'Google_Service_Drive_Property' | |
| $sharingUserDataType = '' | |
| $sharingUserType = 'Google_Service_Drive_User' | |
| $thumbnailDataType = '' | |
| $thumbnailType = 'Google_Service_Drive_DriveFileThumbnail' | |
| $userPermissionDataType = '' | |
| $userPermissionType = 'Google_Service_Drive_Permission' | |
| $videoMediaMetadataDataType = '' | |
| $videoMediaMetadataType = 'Google_Service_Drive_DriveFileVideoMediaMetadata' | |
|
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 |
Reimplemented from Google_Model.
|
inherited |
Reimplemented from Google_Model.
|
inherited |
Reimplemented from Google_Model.
|
inherited |
Reimplemented from Google_Model.
|
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 |