Re: [PHP] Re: PreReq Index
- From: jochem@xxxxxxxxxxxxx (Jochem Maas)
- Date: Fri, 31 Oct 2008 19:03:35 +0100
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 {
}
.
- Follow-Ups:
- Re: [PHP] Re: PreReq Index
- From: Craige Leeder
- Re: [PHP] Re: PreReq Index
- References:
- PreReq Index
- From: Craige Leeder
- Re: PreReq Index
- From: Craige Leeder
- PreReq Index
- Prev by Date: Re: [PHP] Count the Number of Elements Using Explode
- Next by Date: Re: [PHP] Recursive Directory Listing
- Previous by thread: Re: PreReq Index
- Next by thread: Re: [PHP] Re: PreReq Index
- Index(es):