Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
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 () | |
getNegativeAdSizes () | |
getNegativeAdTypeSegments () | |
getNegativeAudienceSegments () | |
getNegativeDeviceCategories () | |
getNegativeIcmBrands () | |
getNegativeIcmInterests () | |
getNegativeInventorySlots () | |
getNegativeKeyValues () | |
getNegativeLocations () | |
getNegativeMobileApps () | |
getNegativeOperatingSystems () | |
getNegativeOperatingSystemVersions () | |
getNegativeSiteUrls () | |
getNegativeSizes () | |
getNegativeVideoAdPositionSegments () | |
getNegativeVideoDurationSegments () | |
getNegativeXfpAdSlots () | |
getNegativeXfpPlacements () | |
getPositiveAdSizes () | |
getPositiveAdTypeSegments () | |
getPositiveAudienceSegments () | |
getPositiveDeviceCategories () | |
getPositiveIcmBrands () | |
getPositiveIcmInterests () | |
getPositiveInventorySlots () | |
getPositiveKeyValues () | |
getPositiveLocations () | |
getPositiveMobileApps () | |
getPositiveOperatingSystems () | |
getPositiveOperatingSystemVersions () | |
getPositiveSiteUrls () | |
getPositiveSizes () | |
getPositiveVideoAdPositionSegments () | |
getPositiveVideoDurationSegments () | |
getPositiveXfpAdSlots () | |
getPositiveXfpPlacements () | |
key () | |
next () | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
rewind () | |
setNegativeAdSizes ($negativeAdSizes) | |
setNegativeAdTypeSegments ($negativeAdTypeSegments) | |
setNegativeAudienceSegments ($negativeAudienceSegments) | |
setNegativeDeviceCategories ($negativeDeviceCategories) | |
setNegativeIcmBrands ($negativeIcmBrands) | |
setNegativeIcmInterests ($negativeIcmInterests) | |
setNegativeInventorySlots ($negativeInventorySlots) | |
setNegativeKeyValues ($negativeKeyValues) | |
setNegativeLocations ($negativeLocations) | |
setNegativeMobileApps ($negativeMobileApps) | |
setNegativeOperatingSystems ($negativeOperatingSystems) | |
setNegativeOperatingSystemVersions ($negativeOperatingSystemVersions) | |
setNegativeSiteUrls ($negativeSiteUrls) | |
setNegativeSizes ($negativeSizes) | |
setNegativeVideoAdPositionSegments ($negativeVideoAdPositionSegments) | |
setNegativeVideoDurationSegments ($negativeVideoDurationSegments) | |
setNegativeXfpAdSlots ($negativeXfpAdSlots) | |
setNegativeXfpPlacements ($negativeXfpPlacements) | |
setPositiveAdSizes ($positiveAdSizes) | |
setPositiveAdTypeSegments ($positiveAdTypeSegments) | |
setPositiveAudienceSegments ($positiveAudienceSegments) | |
setPositiveDeviceCategories ($positiveDeviceCategories) | |
setPositiveIcmBrands ($positiveIcmBrands) | |
setPositiveIcmInterests ($positiveIcmInterests) | |
setPositiveInventorySlots ($positiveInventorySlots) | |
setPositiveKeyValues ($positiveKeyValues) | |
setPositiveLocations ($positiveLocations) | |
setPositiveMobileApps ($positiveMobileApps) | |
setPositiveOperatingSystems ($positiveOperatingSystems) | |
setPositiveOperatingSystemVersions ($positiveOperatingSystemVersions) | |
setPositiveSiteUrls ($positiveSiteUrls) | |
setPositiveSizes ($positiveSizes) | |
setPositiveVideoAdPositionSegments ($positiveVideoAdPositionSegments) | |
setPositiveVideoDurationSegments ($positiveVideoDurationSegments) | |
setPositiveXfpAdSlots ($positiveXfpAdSlots) | |
setPositiveXfpPlacements ($positiveXfpPlacements) | |
toSimpleObject () | |
Create a simplified object suitable for straightforward conversion to JSON. | |
valid () | |
Public Attributes | |
$negativeAdTypeSegments | |
$negativeAudienceSegments | |
$negativeDeviceCategories | |
$negativeIcmBrands | |
$negativeIcmInterests | |
$negativeInventorySlots | |
$negativeLocations | |
$negativeMobileApps | |
$negativeOperatingSystems | |
$negativeOperatingSystemVersions | |
$negativeSiteUrls | |
$negativeSizes | |
$negativeVideoAdPositionSegments | |
$negativeVideoDurationSegments | |
$negativeXfpAdSlots | |
$negativeXfpPlacements | |
$positiveAdTypeSegments | |
$positiveAudienceSegments | |
$positiveDeviceCategories | |
$positiveIcmBrands | |
$positiveIcmInterests | |
$positiveInventorySlots | |
$positiveLocations | |
$positiveMobileApps | |
$positiveOperatingSystems | |
$positiveOperatingSystemVersions | |
$positiveSiteUrls | |
$positiveSizes | |
$positiveVideoAdPositionSegments | |
$positiveVideoDurationSegments | |
$positiveXfpAdSlots | |
$positiveXfpPlacements | |
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 = 'positiveXfpPlacements' | |
$internal_gapi_mappings | |
$modelData = array() | |
$negativeAdSizesDataType = 'array' | |
$negativeAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize' | |
$negativeKeyValuesDataType = 'array' | |
$negativeKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair' | |
$positiveAdSizesDataType = 'array' | |
$positiveAdSizesType = 'Google_Service_AdExchangeBuyer_AdSize' | |
$positiveKeyValuesDataType = 'array' | |
$positiveKeyValuesType = 'Google_Service_AdExchangeBuyer_RuleKeyValuePair' | |
$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 |
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 |