[dev] new help.xml tag

Vijay Mahrra vijay.mahrra at es.easynet.net
Tue Sep 20 01:54:29 PDT 2005


hi,

i'm writing the help.xml for a framework 3 base dmodule and it would be
really useful to be able to display pre-formatted text in it, however
this is not presently supported.

as far as i can see would it be appropriate to just add a new handler
'pre' to the array (described below) framework/Help.php file here:

    var $_handlers = array(
        'help'     =>  '_helpHandler',
        'entry'    =>  '_entryHandler',
        'title'    =>  '_titleHandler',
        'heading'  =>  '_headingHandler',
        'para'     =>  '_paraHandler',
        'ref'      =>  '_refHandler',
        'eref'     =>  '_erefHandler',
        'href'     =>  '_hrefHandler',
        'b'        =>  '_bHandler',
        'i'        =>  '_iHandler',
    );

and define the handler further down?  

i can write/submit a patch if nobody objects.

vijay

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.horde.org/archives/dev/attachments/20050920/da674d68/attachment.bin


More information about the dev mailing list