Welcome Guest, Not a member yet? Register   Sign In
simple PHP class
#1

[eluser]Ajaxian64[/eluser]
Hi,

I would like to set up a php class. Problem, is that it is not a helper and not a library.
For instance a simple class that aims to provide msg status and text about problem whenever status is ko.
It is just an example.

How can I handle this with CI ?
Where can I declare my class Mess { } ? In library folder ?
I don't know wher I have to declare of my class in order I can make a new Msg() in different parts of my CI appclication (models, controller)

I hope I am clear enough ...

Thanks


Messages In This Thread
simple PHP class - by El Forum - 09-08-2010, 09:28 AM
simple PHP class - by El Forum - 09-08-2010, 09:33 AM
simple PHP class - by El Forum - 09-08-2010, 09:46 AM
simple PHP class - by El Forum - 09-08-2010, 09:51 AM
simple PHP class - by El Forum - 09-08-2010, 10:02 AM
simple PHP class - by El Forum - 09-08-2010, 10:05 AM
simple PHP class - by El Forum - 09-08-2010, 10:07 AM
simple PHP class - by El Forum - 09-08-2010, 10:10 AM
simple PHP class - by El Forum - 09-08-2010, 10:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB