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

[eluser]Iverson[/eluser]
I'm trying to play with PHPLiveX, which is an alternative to xajax (too many bugs and not enough documentation). However, PHPLiveX requires the function you want to "ajaxify" to be inside the actual html file better known in the CI world as a view file. This obviously presents a problem since all functionality should be kept in the C's and M's.

Any ideas?
#2

[eluser]Iverson[/eluser]
After all the great replies, I've figured out that I can just grab the instance ($obj = & get_instance()) and call all my controller functions using the $obj object since you clearly can't use $this. Figured I'd share this.

Thanks for all the help guys Confusedmirk:




Theme © iAndrew 2016 - Forum software by © MyBB