[dev] new help.xml tag

Jan Schneider jan at horde.org
Tue Sep 20 02:52:36 PDT 2005


Zitat von Vijay Mahrra <vijay.mahrra at es.easynet.net>:

> 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?

Correct.

> i can write/submit a patch if nobody objects.
>
> vijay
>
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list