Source for file wml.php

Documentation is available at wml.php

  1. <?php
  2.  
  3. /* Here will be a set of WML classes, derived from the XML classes */
  4. /* Not all wml tags are implemented, for example, <table> are not, since their
  5. * WML form is just a stripped down form of HTML tables, so they are not implemented */
  6.  
  7. class wml_card extends xml_element
  8. {
  9. function wml_card($id,$title)
  10. {
  11. $attribs=array("id" => $id,
  12. "title" => $title);
  13. $this->xml_element("card",$attribs);
  14. }
  15. }
  16.  
  17. class wml_para extends xml_element
  18. {
  19. function wml_para($content)
  20. {
  21. $this->xml_element("p");
  22. $this->add_child($content);
  23. }
  24. }

Documentation generated on Tue, 24 May 2005 03:59:12 -0400 by phpDocumentor 1.3.0RC3