]> granicus.if.org Git - php/commitdiff
more cleanup
authorStanislav Malyshev <stas@php.net>
Thu, 14 Mar 2002 17:13:02 +0000 (17:13 +0000)
committerStanislav Malyshev <stas@php.net>
Thu, 14 Mar 2002 17:13:02 +0000 (17:13 +0000)
Zend/OBJECTS2_HOWTO

index 4e627c1eeb70abff538b2e8cdaff9cc9e0b626ee..3d942c2ed0032af4f0a06682f618ea47021ce93f 100644 (file)
@@ -41,7 +41,7 @@ invalid.
 Object access - read
 --------------------
 
-get_property is used to read object's property. This value is not
+read_property is used to read object's property. This value is not
 meant to be changed. The handler returns zval * with the value.
 
 Object access - write
@@ -61,6 +61,9 @@ get_property_ptr is used to obtain zval ** for future writing to
 it. If your object properties are stored as zval*, return real place
 where the property is stored. If the aren't, the best way is to create 
 proxy object and handle it via get and set methods (see below). 
+This method is meant to be used for send-by-reference and assign-by-reference
+use of object properties. If you don;t want to implement property
+referencing for your objects, you can set this handler to NULL. 
 
 get and set handlers are used when engine needs to access the object
 as a value. E.g., in the following situation: