MFO_Stack

Class to allow “stacks” of elements to be created.

Summary
Class to allow “stacks” of elements to be created.
Add an element (from type MFO_Element) to the stack object.
Render the stack to XML.

Functions

add

function add ($element)

Add an element (from type MFO_Element) to the stack object.

Parameters

$elementMFO_Element object

toXml

function toXml ( )

Render the stack to XML.

function add ($element)
Add an element (from type MFO_Element) to the stack object.
function toXml ( )
Render the stack to XML.