Browse Source

Fixed typos in English manual for tutorials

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20649 44c647ce-9c0f-0410-b52a-842ac1e357ba
doctorrock83 16 years ago
parent
commit
d51f359cdd

+ 1 - 1
documentation/manual/en/tutorials/form-decorators-layering.xml

@@ -133,7 +133,7 @@ class My_Decorator_SimpleLabel extends Zend_Form_Decorator_Abstract
         $id      = htmlentities($element->getId());
         $label   = htmlentities($element->getLabel());
 
-        $markup = sprint($this->_format, $id, $label);
+        $markup = sprintf($this->_format, $id, $label);
         return $markup;
     }
 }

+ 1 - 1
documentation/manual/en/tutorials/multiuser-authorization.xml

@@ -51,7 +51,7 @@
         <para>
             When using <classname>Zend_Acl</classname>, any models can serve as roles or resources
             by simply implementing the proper interface. To be used in a role capacity, the class
-            must implement the <classname>Zend_Acl</classname>, which requires only
+            must implement the <classname>Zend_Acl_Role_Interface</classname>, which requires only
             <methodname>getRoleId()</methodname>. To be used in a resource capacity, a class must
             implement the <classname>Zend_Acl_Resource_Interface</classname> which similarly
             requires the class implement the <methodname>getResourceId()</methodname> method.