Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
CFType Class Reference

Public Member Functions

 __construct ($value=null)
 Create new CFType.
 
 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.
 

Constructor & Destructor Documentation

◆ __construct()

CFType::__construct ( $value = null)

Create new CFType.

Parameters
mixed$valueValue of CFType

Member Function Documentation

◆ getValue()

CFType::getValue ( )

Get the CFType's value.

Return values
mixedCFType's value

◆ setValue()

CFType::setValue ( $value)

Set the CFType's value.

Return values
void

◆ toArray()

CFType::toArray ( )

Get CFType's value.

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

◆ toBinary()

CFType::toBinary ( CFBinaryPropertyList & $bplist)
abstract

convert value to binary representation

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

◆ toXML()

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

Get XML-Node.

Parameters
DOMDocument$docDOMDocument to create DOMNode in
string$nodeNameName of element to create
Return values
DOMNodeNode created based on CType @uses $value as nodeValue

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