ccampbell / sonic

fast, lightweight PHP 5.3 MVC framework
http://www.sonicframework.com
Apache License 2.0
63 stars 11 forks source link

Setting view variables in Controller::__construct() fails #9

Open ccampbell opened 12 years ago

ccampbell commented 12 years ago

If you try to do this in a controller:

public function __construct()
{
    $this->view->name = 'Luigi';
}

It never gets set to the view