Hi all.
I’ve been inspecting the code a bit.
In CWebApplication we can read:
public function getAuthManager()
{
return $this->getComponent('authManager');
}
/**
* @return CAssetManager the asset manager component
*/
public function getAssetManager()
{
return $this->getComponent('assetManager');
}
I wonder why is this necessary when CWebApplication extends CModule and the latter implements __get and __set in a way that does the same.
Am I wrong?
Thank you.