Location: PHPKode > projects > PhpScribe Documentation Generator > xml/example.xml
<form>
  <section name="Add an Example" required_flag="TRUE" required_char="*" required_color="#ff0000">
    <lookupfield label="Function or Method" name="cod_function" keyfield="f.cod_function" displayfield="IF(c.cod_class IS NOT NULL,CONCAT(c.name,'::',f.name),f.name)" lookuptable="function f  LEFT JOIN class c ON(f.cod_class=c.cod_class)  INNER JOIN revision r ON(f.revision=r.cod_revision)" where="WHERE r.cod_project = $codProject$" order="2" required="T" tabindex="1"/>
    <memofield label="Description of the Example" name="description" cols="60" rows="7" required="T" tabindex="2"/>
    <lookupfield label="Project Revision" name="revision" keyfield="cod_revision" displayfield="number_revision" lookuptable="revision" where="WHERE cod_project = $codProject$" order="1 DESC" required="T" tabindex="3"/>
    <hiddenfield name="cod_example"/>
  </section>
  <buttons name='Buttons'>
    <button name="btn_example_save" value="Save Example" type="SUBMIT" tabindex="4"/>
    <button name="btn_example_clear" value="Clear Fields" type="RESET" tabindex="5"/>
    <button name="btn_example_back" value="Back" type="BUTTON" script="onClick=history.back();" tabindex="6"/>
  </buttons>
</form>
Return current item: PhpScribe Documentation Generator