File: Zend_Markup.xml

package info (click to toggle)
zendframework 1.12.9%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 133,584 kB
  • sloc: xml: 1,311,829; php: 570,173; sh: 170; makefile: 125; sql: 121
file content (21 lines) | stat: -rw-r--r-- 910 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.markup.introduction">
    <title>Introduction</title>

    <para>
        The <classname>Zend_Markup</classname> component provides an extensible
        way for parsing text and rendering lightweight markup languages like
        BBcode. It is available as of Zend Framework version 1.10.
    </para>

    <para>
        <classname>Zend_Markup</classname> uses a factory method to instantiate
        an instance of a renderer that extends
        <classname>Zend_Markup_Renderer_Abstract</classname>. The factory
        method accepts three arguments. The first one is the parser used to
        tokenize the text (e.g. BbCode). The second (optional) parameter is
        the renderer to use, <acronym>HTML</acronym> by default. Thirdly an array with options
        to use for the renderer can be specified.
    </para>
</sect1>