Re: Re: PreReq Index
| From: | Jochem Maas | Date: | Fri, 31 Oct 2008 18:03:35 +0000 |
| Subject: | Re: Re: PreReq Index | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282722@lists.php.net to get a copy of this message | ||
Craige Leeder schreef:
> I forgot to mention, the calls to setPreReq() would occur in each file
> in place of an include() to get prerequisite components. IE:
try autoload()ing. what your trying to do is reinvent a wheel ...
and chances are yours will be less round.
>
> html.php :
> Ember::setPrereq( array('iOutput' => Ember::mciInterface) );
>
> class html implements iOutput {
> ...
> }
>
>
> iOutput.php:
> Ember::setPrereq( array('iIO' => Ember::mciInterface) );
>
> interface iOutput implements iIO {
> ...
> }
>
> iIO.php:
> interface iIO {
> }
>