Re: how to use class
| From: | Chris Lee | Date: | Mon, 09 Jul 2001 14:46:14 +0000 |
| Subject: | Re: how to use class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56933@lists.php.net to get a copy of this message | ||
include_once('some_class.egn');
$some_class = new some_class;
$some_class->some_function();
--
Chris Lee
lee@mediawaveonline.com
"Jack" <jacky@activelifestyle.com> wrote in message
news:020801c108af$36dc70c0$6400a8c0@activelifestyle.com...
Hi all
I am new to php class, basically never use class before. Now I try to use a
credit card class from Zend, the class name is credit_card.pkg. How do I
create the object for this type of class and how do I call the functions
from this class to use?
Jack
jacky@activelifestyle.com
"Love your enemies, it will drive them nuts"