[PHP-DEV] classes example
Hello, what is the best example to use to write classes? The documentation is clear about functions, but not really about classes or I missed something. I need to find out how to define an object and its methods, and make them visible to the scripts. Fab.
Re: [PHP-DEV] classes example
Hello, this is the wrong list for user questions, you'd want the [EMAIL PROTECTED] mailinglist. Derick On Wed, 22 May 2002, fabwash wrote: Hello, what is the best example to use to write classes? The documentation is clear about functions, but not really about classes or I missed something. I need to find out how to define an object and its methods, and make them visible to the scripts. Fab. --- Did I help you? http://www.jdimedia.nl/derick/link.php?url=giftlist Frequent ranting: http://www.jdimedia.nl/derick/ --- PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net --- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] classes example
sorry wasn't clear enough. I'm writing an extension and I want it to be used as a class. Fab. - Original Message - From: [EMAIL PROTECTED] To: fabwash [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 9:42 AM Subject: Re: [PHP-DEV] classes example Hello, this is the wrong list for user questions, you'd want the [EMAIL PROTECTED] mailinglist. Derick On Wed, 22 May 2002, fabwash wrote: Hello, what is the best example to use to write classes? The documentation is clear about functions, but not really about classes or I missed something. I need to find out how to define an object and its methods, and make them visible to the scripts. Fab. -- - Did I help you? http://www.jdimedia.nl/derick/link.php?url=giftlist Frequent ranting: http://www.jdimedia.nl/derick/ -- - PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -- - -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] classes example
you can look at ext/domxml ext/COM ext/java ... this should do it zend_class_entry obj; INIT_CLASS_ENTRY(obj, class, internal_functions); zend_register_internal_class(obj); --- fabwash [EMAIL PROTECTED] wrote: sorry wasn't clear enough. I'm writing an extension and I want it to be used as a class. Fab. - Original Message - From: [EMAIL PROTECTED] To: fabwash [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 9:42 AM Subject: Re: [PHP-DEV] classes example Hello, this is the wrong list for user questions, you'd want the [EMAIL PROTECTED] mailinglist. Derick On Wed, 22 May 2002, fabwash wrote: Hello, what is the best example to use to write classes? The documentation is clear about functions, but not really about classes or I missed something. I need to find out how to define an object and its methods, and make them visible to the scripts. Fab. -- - Did I help you? http://www.jdimedia.nl/derick/link.php?url=giftlist Frequent ranting: http://www.jdimedia.nl/derick/ -- - PHP: Scripting the Web - [EMAIL PROTECTED] All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -- - -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php