[eluser]Dewos[/eluser]
[quote author="wiredesignz" date="1258120346"]The moment you use `$this` you are operating in the scope of the current object. In a view `$this` is actually the loader object so your $widget is a class variable of the loader via the controller. Thus the controller is definitely implicated. You will also need to create different libraries for every widget you need, using your approach, and repeat commonly needed code in each widget.
Notice that my Widget uses a static call to run, it is not attached to any object in CodeIgniter.[/quote]
Ok, i've got it, that make sense.
Thanks for your time.