[eluser]WanWizard[/eluser]
Euhrm, not quite.
I'm missing a
in your constructor.
The parent constructor will take care of the creation of local class variables for every library loaded, so you can use $this->library. Note that this is only for loaded libraries, not for models!
It also doesn't work bidirectional, so if you load A, then B, you can access A from B, but not B from A, as B wasn't loaded when A was instantiated.