FW: [PHP-DEV] Getting object property value

From: Date: Tue, 15 Aug 2000 14:15:52 +0000
Subject: FW: [PHP-DEV] Getting object property value
Groups: php.dev 
Request: Send a blank email to php-dev+get-28948@lists.php.net to get a copy of this message
-----Oorspronkelijk bericht----- Van: Mathieu Kooiman [mailto:caps@alblasserwaard.nl] Verzonden: dinsdag 15 augustus 2000 16:13 Aan: waldschrott Onderwerp: RE: [PHP-DEV] Getting object property value /* Writing this from my memory, am not sure about some stuff.. but It should get you started.. */ PHP_FUNCTION (MyFunction) { pval **MyObject; HashTable *Properties; if ( zend_get_parameters_ex(1, &MyObject) == FAILURE) WRONG_PARAM_COUNT; Properties = (*MyObject)->obj.ce->default_properties; // perhaps its 'properties' look at struct _zend_class_entry { } // This is a normal hashtable, use zend_hash_*() on it. } ================================ Mathieu Kooiman GG Internet Webdesign, http://www.gginter.net -----Oorspronkelijk bericht----- Van: waldschrott [mailto:waldschrott@kiffen.de] Verzonden: dinsdag 15 augustus 2000 15:54 Aan: Gustavo Badauy; php-dev@lists.php.net Onderwerp: Re: [PHP-DEV] Getting object property value > Acctually this is a PHP development question. It is regarding creating an > extension. The Appendix B of PHP manual doesn't say anything about the > reading a property from an object inside the extension. sorry, then you´re of course right here... regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ · -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#28948) next »