Zend_Markup.xml 910 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zend.markup.introduction">
  4. <title>Introduction</title>
  5. <para>
  6. The <classname>Zend_Markup</classname> component provides an extensible
  7. way for parsing text and rendering lightweight markup languages like
  8. BBcode. It is available as of Zend Framework version 1.10.
  9. </para>
  10. <para>
  11. <classname>Zend_Markup</classname> uses a factory method to instantiate
  12. an instance of a renderer that extends
  13. <classname>Zend_Markup_Renderer_Abstract</classname>. The factory
  14. method accepts three arguments. The first one is the parser used to
  15. tokenize the text (e.g. BbCode). The second (optional) parameter is
  16. the renderer to use, <acronym>HTML</acronym> by default. Thirdly an array with options
  17. to use for the renderer can be specified.
  18. </para>
  19. </sect1>