Re: classes example

From: Date: Wed, 22 May 2002 15:03:38 +0000
Subject: Re: classes example
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-84271@lists.php.net to get a copy of this message
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 <fabwash@hotmail.com> 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: <derick@php.net> > To: "fabwash" <fabwash@hotmail.com> > Cc: <php-dev@lists.php.net> > 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 > > php-general@lists.php.net 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 - derick@php.net > > 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

« previous php.dev (#84271) next »