Welcome Guest, Not a member yet? Register   Sign In
function & models


can i use a function in other functions in models?

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.

[eluser]Colin Williams[/eluser]

Theme © iAndrew 2016 - Forum software by © MyBB