Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: