Welcome Guest, Not a member yet? Register   Sign In
Interfaces?
#1

[eluser]dcunited08[/eluser]
How do you handle interfaces in your application that may be used by several different classes? Currently I am keeping them in a file that calls them and using include_once to call that file. It works but is not really helpful because it does not use CI's load class. Any ideas?
#2

[eluser]dcunited08[/eluser]
Does anyone use interfaces with CI?
#3

[eluser]xwero[/eluser]
If you are sure all your servers have php5 you can work with interfaces but as CI is a php 5 and 4 framework interfaces can't be used for the framework itself.
#4

[eluser]dcunited08[/eluser]
[quote author="xwero" date="1229115122"]If you are sure all your servers have php5 you can work with interfaces but as CI is a php 5 and 4 framework interfaces can't be used for the framework itself.[/quote]

That is true, all of my servers run 5.2.




Theme © iAndrew 2016 - Forum software by © MyBB