Moodle PHP Documentation 4.4
Moodle 4.4.8+ (Build: 20250530) (000b0c27711)
CFBoolean Class Reference
Inheritance diagram for CFBoolean:
CFType

Public Member Functions

 getValue ()
 Get the CFType's value.
 
 setValue ($value)
 Set the CFType's value.
 
 toArray ()
 Get CFType's value.
 
 toBinary (CFBinaryPropertyList &$bplist)
 convert value to binary representation
 
 toXML (DOMDocument $doc, $nodeName="")
 Get XML-Node.
 

Protected Attributes

array $value = null
 CFType nodes.
 

Member Function Documentation

◆ getValue()

CFType::getValue ( )
inherited

Get the CFType's value.

Return values
mixedCFType's value

Reimplemented in CFData.

◆ setValue()

CFType::setValue ( $value)
inherited

Set the CFType's value.

Return values
void

Reimplemented in CFArray, CFData, and CFDictionary.

◆ toArray()

CFType::toArray ( )
inherited

Get CFType's value.

Return values
mixedprimitive value @uses $value for retrieving primitive of CFType

Reimplemented in CFArray, and CFDictionary.

◆ toBinary()

CFBoolean::toBinary ( CFBinaryPropertyList & $bplist)

convert value to binary representation

Parameters
CFBinaryPropertyListThe binary property list object
Return values
Theoffset in the object table

Reimplemented from CFType.

◆ toXML()

CFBoolean::toXML ( DOMDocument $doc,
$nodeName = "" )

Get XML-Node.

Returns <true> if $value is a true, <false> if $value is false.

Parameters
DOMDocument$docDOMDocument to create DOMNode in
string$nodeNameFor compatibility reasons; just ignore it
Return values
DOMNode<true> or <false>-Element

Reimplemented from CFType.


The documentation for this class was generated from the following file: