Go to the source code of this file.
Namespaces | |
namespace | docbook |
Functions | |
regex_replace ($line) | |
convert_menu_items ($str) | |
This function gets a string like this: 'M_enu->S_ubmenu->MenuI_tem (Ctrl-C)' and returns a docbook code like this:. | |
mediaobject ($filename, $width='', $alt='') | |
Returns a <mediobject> element. |
regex_replace | ( | $ | line | ) |
Definition at line 54 of file fun.regex_replace.php.
Referenced by Tpl::line_to_html(), Block::line_to_html(), Tpl::line_to_xml(), Block::line_to_xml(), and Info::render_authors().
convert_menu_items | ( | $ | str | ) |
This function gets a string like this: 'M_enu->S_ubmenu->MenuI_tem (Ctrl-C)' and returns a docbook code like this:.
<menuchoice> <shortcut> <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo> </shortcut> <guimenu><accel>M</accel>enu</guimenu> <guisubmenu><accel>S</accel>ubmenu</guisubmenu> <guimenuitem>Menu<accel>I</accel>tem</guimenuitem> </menuchoice>.
Definition at line 182 of file fun.regex_replace.php.
mediaobject | ( | $ | filename, | |
$ | width = '' , |
|||
$ | alt = '' | |||
) |