[eluser]Davjack[/eluser]
Hello everybody,
I recently discovered IC .
During my learning of this framework, I wanted to use a static method from one of my personal libraries without success*.
* I want to use it without instance its library and if I understood, when I do
Code:
$this->load->library('mylibrary');
echo $this->mylibrary->myStaticMethod;
my class Mylibrary is needlessly instanced.
My question : Is that possible to use the static method (located in system/application/librairies/mylibrary.php) in a controller (e.g. located in system/application/controllers/mycontroller.php) without instancing the class Mylibrary ?