Просмотр исходного кода

Fixing incorrect reference to ::factory() method (ZF-8719, David Toniolo)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20121 44c647ce-9c0f-0410-b52a-842ac1e357ba
shahar 16 лет назад
Родитель
Сommit
1ccf12e640
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      documentation/manual/en/module_specs/Zend_Http_Response.xml

+ 2 - 2
documentation/manual/en/module_specs/Zend_Http_Response.xml

@@ -13,7 +13,7 @@
         </para>
         <para>
             In most cases, a Zend_Http_Response object will be instantiated
-            using the factory() method, which reads a string containing an HTTP
+            using the fromString() method, which reads a string containing an HTTP
             response message, and returns a new Zend_Http_Response object:
             <example id="zend.http.response.introduction.example-1">
                 <title>Instantiating a Zend_Http_Response Object Using the Factory Method</title>
@@ -29,7 +29,7 @@ fwrite($sock, $req);
 while ($buff = fread($sock, 1024))
     $str .= $sock;
 
-$response = Zend_Http_Response::factory($str);
+$response = Zend_Http_Response::fromString($str);
 ]]></programlisting>
             </example>
         </para>