Procházet zdrojové kódy

[ZF-8959] Zend_Filter:

- small changes on the new section (thnx WilMoore)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22246 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas před 15 roky
rodič
revize
1063c16414

+ 6 - 9
documentation/manual/en/module_specs/Zend_Filter-BaseName.xml

@@ -4,15 +4,15 @@
     <title>BaseName</title>
 
     <para>
-        <classname>Zend_Filter_BaseName</classname> allows you to validate if a given value contains
-        a string containing a path to a file and it will return the base name of the file.
+        <classname>Zend_Filter_BaseName</classname> allows you to filter a string which contains
+        the path to a file and it will return the base name of this file.
     </para>
 
     <sect3 id="zend.filter.set.basename.options">
         <title>Supported options for Zend_Filter_BaseName</title>
 
         <para>
-            There are no additional options for <classname>Zend_Filter_BaseName</classname>:
+            There are no additional options for <classname>Zend_Filter_BaseName</classname>.
         </para>
     </sect3>
 
@@ -23,27 +23,24 @@
             A basic example of usage is below:
         </para>
 
-    <programlisting language="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $filter = new Zend_Filter_BaseName();
 
 print $filter->filter('/vol/tmp/filename');
-// returns "filename"
 ]]></programlisting>
 
         <para>
             This will return 'filename'.
         </para>
 
-    <programlisting language="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $filter = new Zend_Filter_BaseName();
 
 print $filter->filter('/vol/tmp/filename.txt');
-// returns "filename.txt"
 ]]></programlisting>
-    
+
         <para>
             This will return 'filename.txt'.
         </para>
-
     </sect3>
 </sect2>