<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.filter.set" xmlns:xi="http://www.w3.org/2001/XInclude">

    <title>Standard Filter Classes</title>

    <para>
        Zend Framework comes with a standard set of filters, which are ready for you to use.
    </para>

    <sect2 id="zend.filter.set.alnum">
        <title>Alnum</title>
        <para>
            Returns the string <varname>$value</varname>, removing all but alphabetic and digit
            characters. This filter includes an option to also allow white space characters.
        </para>

        <note>
            <para>
                The alphabetic characters mean characters that makes up words in each language.
                However, the english alphabet is treated as the alphabetic characters in following
                languages: Chinese, Japanese, Korean. The language is specified by
                <classname>Zend_Locale</classname>.
            </para>
        </note>

    </sect2>

    <sect2 id="zend.filter.set.alpha">
        <title>Alpha</title>
        <para>
            Returns the string <varname>$value</varname>, removing all but alphabetic characters.
            This filter includes an option to also allow white space characters.
        </para>
    </sect2>

    <sect2 id="zend.filter.set.basename">
        <title>BaseName</title>
        <para>
            Given a string containing a path to a file, this filter will return the base
            name of the file
        </para>
    </sect2>

    <xi:include href="Zend_Filter-Callback.xml" />
    <xi:include href="Zend_Filter-Decryption.xml" />

    <sect2 id="zend.filter.set.digits">
        <title>Digits</title>
        <para>
            Returns the string <varname>$value</varname>, removing all but digit characters.
        </para>
    </sect2>

    <sect2 id="zend.filter.set.dir">
        <title>Dir</title>
        <para>
            Returns directory name component of path.
        </para>
    </sect2>

    <xi:include href="Zend_Filter-Encryption.xml" />

    <sect2 id="zend.filter.set.htmlentities">
        <title>HtmlEntities</title>
        <para>
            Returns the string <varname>$value</varname>, converting characters to their
            corresponding <acronym>HTML</acronym> entity equivalents where they exist.
        </para>
    </sect2>

    <sect2 id="zend.filter.set.int">
        <title>Int</title>
        <para>
            Returns (int) <varname>$value</varname>
        </para>
    </sect2>

    <xi:include href="Zend_Filter-LocalizedToNormalized.xml" />
    <xi:include href="Zend_Filter-NormalizedToLocalized.xml" />

    <sect2 id="zend.filter.set.stripnewlines">
        <title>StripNewlines</title>
        <para>
            Returns the string <varname>$value</varname> without any newline control characters.
        </para>
    </sect2>

    <xi:include href="Zend_Filter-RealPath.xml" />

    <sect2 id="zend.filter.set.stringtolower">
        <title>StringToLower</title>
        <para>
            Returns the string <varname>$value</varname>, converting alphabetic characters to
            lowercase as necessary.
        </para>
    </sect2>

    <sect2 id="zend.filter.set.stringtoupper">
        <title>StringToUpper</title>
        <para>
            Returns the string <varname>$value</varname>, converting alphabetic characters to
            uppercase as necessary.
        </para>
    </sect2>

    <sect2 id="zend.filter.set.stringtrim">
        <title>StringTrim</title>
        <para>
            Returns the string <varname>$value</varname> with characters stripped from the
            beginning and end.
        </para>
    </sect2>

    <sect2 id="zend.filter.set.striptags">
        <title>StripTags</title>
        <para>
            This filter returns the input string, with all HTML and <acronym>PHP</acronym> tags
            stripped from it, except those that have been explicitly allowed. In addition to the
            ability to specify which tags are allowed, developers can specify which attributes are
            allowed across all allowed tags and for specific tags only. Finally, this filter offers
            control over whether comments (e.g., <code>&lt;!-- ... --&gt;</code>) are removed or
            allowed.
        </para>
    </sect2>

</sect1>
<!--
vim:se ts=4 sw=4 et:
-->