Create new CFType.
CFArray
__construct
([array $value = array()])
-
array
$value: Value of CFType
Redefinition of:
- CFType::__construct()
- Create new CFType.
Add CFType to collection.
void
add
([
CFType $value =
null])
-
CFType
$value: CFType to add to collection, defaults to null which results in an empty CFString
Get Iterator's current CFType identified by $iteratorPosition
Implementation of:
- Iterator::current
Remove CFType from collection.
-
integer
$key: Key of CFType to removes from collection
Get CFType from collection.
-
integer
$key: Key of CFType to retrieve from collection
Get Iterator's current key identified by $iteratorPosition
string
key
()
Implementation of:
- Iterator::key
Increment $iteratorPosition to address next {@see CFType}
void
next
()
Implementation of:
- Iterator::next
Determine if the array's key exists
bool
offsetExists
(string $key)
-
string
$key: the key to check
Implementation of:
- ArrayAccess::offsetExists
Fetch a specific key from the CFArray
mixed
offsetGet
(string $key)
-
string
$key: the key to check
Implementation of:
- ArrayAccess::offsetGet
Set a value in the array
void
offsetSet
(string $key, string $value)
-
string
$key: the key to set
-
string
$value: the value to set
Implementation of:
- ArrayAccess::offsetSet
Unsets a value in the array
Note: this dummy does nothing
void
offsetUnset
(string $key)
-
string
$key: the key to set
Implementation of:
- ArrayAccess::offsetUnset
Rewind $iteratorPosition to first position (being 0)
void
rewind
()
Implementation of:
- Iterator::rewind
Set the CFType's value
Note: this dummy does nothing
void
setValue
( $value)
Redefinition of:
- CFType::setValue()
- Set the CFType's value
Get CFType's value.
array
toArray
()
Redefinition of:
- CFType::toArray()
- Get CFType's value.
convert value to binary representation
Redefinition of:
- CFType::toBinary()
- convert value to binary representation
Get XML-Node.
DOMNode
toXML
( $doc, [string $nodeName = ""])
-
DOMDocument
$doc: DOMDocument to create DOMNode in
-
string
$nodeName: For compatibility reasons; just ignore it
Redefinition of:
- CFType::toXML()
- Get XML-Node.
Test if $iteratorPosition addresses a valid element of $value
boolean
valid
()
Implementation of:
- Iterator::valid
Inherited Methods
Inherited From CFType
CFType::__construct()
CFType::getValue()
CFType::setValue()
CFType::toArray()
CFType::toBinary()
CFType::toXML()