[eluser]Unknown[/eluser]
I have created a custom Library function and store it in Application/library/ folder. Now can i call this function in view files?
When i try to call it from controller as
Code:
$this->customlib->functionName();
it is working fine. Now when i call it from view file
Code:
$this->customlib->functionName();
it give me error as:
"Call to a member function functionName() on a non-objec"
can anyone help me on this.
Thanks in advance!!!