• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
function & models

#1
[eluser]MMCCQQ[/eluser]
hii..

can i use a function in other functions in models?

#2
[eluser]Sumon[/eluser]
Global functions can be shared CI helper. More about helper in CI User Guide.

Moreover, in model functions of any model is also available and you can access it by either $this->function name() or model_name::function_name().

Hope it helps you.

#3
[eluser]Colin Williams[/eluser]
php.net/functions
php.net/class


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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