Re: require_once
| From: | chris h | Date: | Tue, 19 Oct 2010 14:52:24 +0000 |
| Subject: | Re: require_once | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308839@lists.php.net to get a copy of this message | ||
I see!
Yes using an autoloader typically requires following a naming convention for
your classes (though you can get around it by defining your own naming
rules). I didn't care for it much at first, but it's nice that class names
are explicit (less confusion when you have several) and not worrying about
requiring all your files is a plus.
Chris.
On Tue, Oct 19, 2010 at 10:00 AM, jim <jbw2003@earthlink.net> wrote:
> I am following an example. Also, doesn't that require the class name to be
> something like models_members?
>
> Jim
>
>
> On 10/19/2010 09:40 AM, chris h wrote:
>
> I'm having a problem including files using Zend Framework. I have in a
>> controller file this
>>
>>
> Jim why not use the Zend autoloader?
>
>
> Chris.
>
>
>