extending native classes problem |
[eluser]helmutbjorg[/eluser]
Also as Johan André said... check out PHP's autoload function as it is really quite awesome. http://us.php.net/manual/en/language.oop5.autoload.php
[eluser]devbro[/eluser]
auto load is not someting I want to use. There is a chance that someone else is gonna work on the code so pure CI and OO is the way I need to go.
[eluser]wiredesignz[/eluser]
@helmut [quote author="php.net" date="1248072068"] include() is a special language construct, parentheses are not needed around its argument.[/quote] [quote author="php.net" date="1248072068"] echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it. echo() (unlike some other language constructs) does not behave like a function, so it cannot always be used in the context of a function. Additionally, if you want to pass more than one parameter to echo(), the parameters must not be enclosed within parentheses. [/quote]
|
Welcome Guest, Not a member yet? Register Sign In |