|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
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. | |
| getAgeGating () | |
| getContentDetails () | |
| getConversionPings () | |
| getEtag () | |
| getFileDetails () | |
| getId () | |
| getKind () | |
| getLiveStreamingDetails () | |
| getLocalizations () | |
| getMonetizationDetails () | |
| getPlayer () | |
| getProcessingDetails () | |
| getProjectDetails () | |
| getRecordingDetails () | |
| getSnippet () | |
| getStatistics () | |
| getStatus () | |
| getSuggestions () | |
| getTopicDetails () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| setAgeGating (Google_Service_YouTube_VideoAgeGating $ageGating) | |
| setContentDetails (Google_Service_YouTube_VideoContentDetails $contentDetails) | |
| setConversionPings (Google_Service_YouTube_VideoConversionPings $conversionPings) | |
| setEtag ($etag) | |
| setFileDetails (Google_Service_YouTube_VideoFileDetails $fileDetails) | |
| setId ($id) | |
| setKind ($kind) | |
| setLiveStreamingDetails (Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails) | |
| setLocalizations ($localizations) | |
| setMonetizationDetails (Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails) | |
| setPlayer (Google_Service_YouTube_VideoPlayer $player) | |
| setProcessingDetails (Google_Service_YouTube_VideoProcessingDetails $processingDetails) | |
| setProjectDetails (Google_Service_YouTube_VideoProjectDetails $projectDetails) | |
| setRecordingDetails (Google_Service_YouTube_VideoRecordingDetails $recordingDetails) | |
| setSnippet (Google_Service_YouTube_VideoSnippet $snippet) | |
| setStatistics (Google_Service_YouTube_VideoStatistics $statistics) | |
| setStatus (Google_Service_YouTube_VideoStatus $status) | |
| setSuggestions (Google_Service_YouTube_VideoSuggestions $suggestions) | |
| setTopicDetails (Google_Service_YouTube_VideoTopicDetails $topicDetails) | |
| toSimpleObject () | |
| Create a simplified object suitable for straightforward conversion to JSON. | |
Public Attributes | |
| $etag | |
| $id | |
| $kind | |
| 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 | |
| $ageGatingDataType = '' | |
| $ageGatingType = 'Google_Service_YouTube_VideoAgeGating' | |
| $contentDetailsDataType = '' | |
| $contentDetailsType = 'Google_Service_YouTube_VideoContentDetails' | |
| $conversionPingsDataType = '' | |
| $conversionPingsType = 'Google_Service_YouTube_VideoConversionPings' | |
| $fileDetailsDataType = '' | |
| $fileDetailsType = 'Google_Service_YouTube_VideoFileDetails' | |
| $internal_gapi_mappings | |
| $liveStreamingDetailsDataType = '' | |
| $liveStreamingDetailsType = 'Google_Service_YouTube_VideoLiveStreamingDetails' | |
| $localizationsDataType = 'map' | |
| $localizationsType = 'Google_Service_YouTube_VideoLocalization' | |
| $modelData = array() | |
| $monetizationDetailsDataType = '' | |
| $monetizationDetailsType = 'Google_Service_YouTube_VideoMonetizationDetails' | |
| $playerDataType = '' | |
| $playerType = 'Google_Service_YouTube_VideoPlayer' | |
| $processed = array() | |
| $processingDetailsDataType = '' | |
| $processingDetailsType = 'Google_Service_YouTube_VideoProcessingDetails' | |
| $projectDetailsDataType = '' | |
| $projectDetailsType = 'Google_Service_YouTube_VideoProjectDetails' | |
| $recordingDetailsDataType = '' | |
| $recordingDetailsType = 'Google_Service_YouTube_VideoRecordingDetails' | |
| $snippetDataType = '' | |
| $snippetType = 'Google_Service_YouTube_VideoSnippet' | |
| $statisticsDataType = '' | |
| $statisticsType = 'Google_Service_YouTube_VideoStatistics' | |
| $statusDataType = '' | |
| $statusType = 'Google_Service_YouTube_VideoStatus' | |
| $suggestionsDataType = '' | |
| $suggestionsType = 'Google_Service_YouTube_VideoSuggestions' | |
| $topicDetailsDataType = '' | |
| $topicDetailsType = 'Google_Service_YouTube_VideoTopicDetails' | |
|
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 |