Triligon / Projects / Xinha and ezxhtml / ezxhtml wiki / InputHandlerConvertInput




InputHandlerConvertInput (InputHandlerConvertInput)

This is done.


<?php
    /*!
     \pure
     Converts text input \a $text into an XML structure and returns it.
     \return an array where index 0 is the xml structure and index 1 is a message.
    */
    function &convertInput( &$text )
    {
        $retValue = null;
        return $retValue;
    }
?>

ezsimplifiedinput (which I'll use as reference) provides the following data structure as return value:


<?php
        $output = array( $domDocument, $message );
?>

whereas $domDocument is

<?php
$domDocument = new eZDOMDocument();
?>

and message an array of messages to display.


Comments