Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Array Type of CFPropertyList. More...
Public Member Functions | |
__construct ($value=array()) | |
Create new CFType. | |
__get ($key) | |
Generic getter (magic) | |
add ($key, CFType $value=null) | |
Add CFType to collection. | |
current () | |
Get Iterator's current CFType identified by $iteratorPosition @externalurl http://php.net/manual/en/iterator.current.php. | |
del ($key) | |
Remove CFType from collection. | |
get ($key) | |
Get CFType from collection. | |
key () | |
Get Iterator's current key identified by $iteratorPosition @externalurl http://php.net/manual/en/iterator.key.php. | |
next () | |
Increment $iteratorPosition to address next {. | |
rewind () | |
Rewind $iteratorPosition to first position (being 0) @externalurl http://php.net/manual/en/iterator.rewind.php. | |
setValue ($value) | |
Set the CFType's value Note: this dummy does nothing. | |
toArray () | |
Get CFType's value. | |
toBinary (CFBinaryPropertyList &$bplist) | |
convert value to binary representation | |
toXML (DOMDocument $doc, $nodeName="") | |
Get XML-Node. | |
valid () | |
Test if $iteratorPosition addresses a valid element of $value @externalurl http://php.net/manual/en/iterator.valid.php. | |
Protected Attributes | |
array | $iteratorKeys = null |
List of Keys for numerical iterator access | |
integer | $iteratorPosition = 0 |
Position of iterator | |
Array Type of CFPropertyList.
CFDictionary::__construct | ( | $value = array() | ) |
CFDictionary::__get | ( | $key | ) |
Generic getter (magic)
integer | $key | Key of CFType to retrieve from collection |
CFType | CFType found at $key, null else @externalurl http://php.net/oop5.overloading @uses get() to retrieve the key's value |
CFDictionary::add | ( | $key, | |
CFType | $value = null ) |
CFDictionary::current | ( | ) |
Get Iterator's current CFType identified by $iteratorPosition @externalurl http://php.net/manual/en/iterator.current.php.
mixed | current Item @uses $iteratorPosition identify current key @uses $iteratorKeys identify current value |
CFDictionary::del | ( | $key | ) |
CFDictionary::get | ( | $key | ) |
CFDictionary::key | ( | ) |
Get Iterator's current key identified by $iteratorPosition @externalurl http://php.net/manual/en/iterator.key.php.
mixed | key of the current Item @uses $iteratorPosition identify current key @uses $iteratorKeys identify current value |
CFDictionary::next | ( | ) |
Increment $iteratorPosition to address next {.
void | @uses $iteratorPosition increment by 1 |
CFDictionary::rewind | ( | ) |
Rewind $iteratorPosition to first position (being 0) @externalurl http://php.net/manual/en/iterator.rewind.php.
void | @uses $iteratorPosition set to 0 @uses $iteratorKeys store keys of $value |
CFDictionary::setValue | ( | $value | ) |
Set the CFType's value Note: this dummy does nothing.
void |
CFDictionary::toArray | ( | ) |
CFDictionary::toBinary | ( | CFBinaryPropertyList & | $bplist | ) |
convert value to binary representation
CFBinaryPropertyList | The binary property list object |
The | offset in the object table |
CFDictionary::toXML | ( | DOMDocument | $doc, |
$nodeName = "" ) |
Get XML-Node.
DOMDocument | $doc | DOMDocument to create DOMNode in |
string | $nodeName | For compatibility reasons; just ignore it |
DOMNode | <dict>-Element |
CFDictionary::valid | ( | ) |
Test if $iteratorPosition addresses a valid element of $value @externalurl http://php.net/manual/en/iterator.valid.php.
bool | true if current position is valid, false else @uses $iteratorPosition test if within $iteratorKeys @uses $iteratorPosition test if within $value |