2014-05-13 12:40:42 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Controller is the customized base controller class.
|
|
|
|
* All controller classes for this application should extend from this base class.
|
|
|
|
*/
|
2014-06-04 09:33:24 +02:00
|
|
|
class MSController extends CController
|
2014-05-13 12:40:42 +02:00
|
|
|
{
|
2014-06-16 19:48:59 +02:00
|
|
|
public $layout = '//layouts/main';
|
2014-06-04 09:33:24 +02:00
|
|
|
|
2014-06-16 19:48:59 +02:00
|
|
|
public $breadcrumbs = array();
|
2014-06-04 09:33:24 +02:00
|
|
|
|
|
|
|
public $selectedNav = '';
|
2014-06-07 19:53:13 +02:00
|
|
|
|
|
|
|
public $js_scripts = array();
|
2014-06-10 13:27:17 +02:00
|
|
|
|
|
|
|
public $title = null;
|
2014-07-20 21:29:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
public function beforeAction($e){
|
|
|
|
Yii::app()->hitcounter->increment();
|
|
|
|
|
|
|
|
return parent::beforeAction($e);
|
|
|
|
}
|
2014-05-13 12:40:42 +02:00
|
|
|
}
|