public function actionResultToResponse($result, $template) { if (is_null($result) || is_array($result)) { $result['currentUser'] = $this->currentUser; } return parent::actionResultToResponse($result, $template); }
public function __construct() { parent::__construct('file-trace'); $this->tl = new TraceOutputDir(); }
public function __construct() { parent::__construct('index'); }
public function __construct() { parent::__construct('db-trace'); $this->nodeCrud = new NodeCrud(Registry::getInstance()->getDb()); $this->valueCrud = new ValueCrud(Registry::getInstance()->getDb()); }