FW: [PHP-DEV] Getting object property value From: Mathieu Kooiman (caps <email protected>)
Date: 08/15/00

-----Oorspronkelijk bericht-----
Van: Mathieu Kooiman [mailto:caps <email protected>]
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 <email protected>]
Verzonden: dinsdag 15 augustus 2000 15:54
Aan: Gustavo Badauy; php-dev <email protected>
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 <email protected>  | 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 <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>