Ver código fonte

ZF-9779: Fix Docblock of Zend_Form::addPrefixPath

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22250 44c647ce-9c0f-0410-b52a-842ac1e357ba
alab 15 anos atrás
pai
commit
cb9b98f3fb
1 arquivos alterados com 5 adições e 2 exclusões
  1. 5 2
      library/Zend/Form.php

+ 5 - 2
library/Zend/Form.php

@@ -469,9 +469,12 @@ class Zend_Form implements Iterator, Countable, Zend_Validate_Interface
      *
      * Otherwise, the path prefix is set on the appropriate plugin loader.
      *
-     * If $type is 'decorators', sets the path in the decorator plugin loader
+     * If $type is 'decorator', sets the path in the decorator plugin loader
      * for all elements. Additionally, if no $type is provided,
-     * {@link Zend_Form_Element::addPrefixPath()} is called on each element.
+     * the prefix and path is added to both decorator and element
+     * plugin loader with following settings:
+     * $prefix . '_Decorator', $path . '/Decorator/'
+     * $prefix . '_Element', $path . '/Element/'
      *
      * @param  string $prefix
      * @param  string $path