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

Number Type of CFPropertyList Property Lists. More...

Inheritance diagram for CFNumber:

Public Member Functions

 toBinary (CFBinaryPropertyList &$bplist)
 convert value to binary representation
 
 toXML (DOMDocument $doc, $nodeName="")
 Get XML-Node.
 

Detailed Description

Member Function Documentation

◆ toBinary()

CFNumber::toBinary ( CFBinaryPropertyList & $bplist)

convert value to binary representation

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

◆ toXML()

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

Get XML-Node.

Returns <real> if $value is a float, <integer> if $value is an integer.

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

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