Główny konstruktor
class Glowna_Controller extends Controller { public function __construct() { parent :: __construct( ); new Session; new Profiler; $this -> auth = Auth :: instance( ); } ... ?>
Inny konstruktor
class News_Controller extends Glowna_Controller { public function __construct() { parent::__construct(); } ?>
Niby się odwołuje do konstruktora rodzica, no ale
Undefined property: News_Controller::$auth