• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get my own class as library

#1
[eluser]saidbakr[/eluser]
Hello all,

I have a class published on www.phpclasses.org and its called Fox_captcha. It is meant by creating captcha verification images.

Its package includes two files, Fox_captcha.php - the class file - and another file called fox_captcha_image.php which generates image for reload the image.

My question how could I able to set it as a library working with CI?

Do you think using it as a helper will be better and how?

I think dealing it as an helper will require a third file inwhich I have to write a function that will able to initiate the object and its methods.


Messages In This Thread
how to get my own class as library - by El Forum - 01-02-2010, 05:33 PM
how to get my own class as library - by El Forum - 01-02-2010, 07:51 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.