Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: