Re: Re: PreReq Index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 {
> }
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux