|
|
@@ -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>
|