• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need some help converting this class to CI's Calendar class :( willing to pay.

#4
[eluser]bradym[/eluser]
Is there a reason you don't want to just continue using the same code? There's no reason you can't use outside classes within CodeIgniter.

I usually create a helper or plugin that just has include('class.php') then I build functions for the tasks I'm using the class for.

In your case, build a function that takes the appropriate parameters to display the calendar and returns the html for the calendar. Then in your view just call the helper function.

Does that help any? Or is it clear as mud?

Brady


Messages In This Thread
I need some help converting this class to CI's Calendar class :( willing to pay. - by El Forum - 04-05-2008, 12:29 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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