コード例 #1
0
ファイル: UserView.php プロジェクト: rasmicah/reglebrans
	function __construct($view = null)
	{		
		try{
			parent::__construct('./views/');
			if($view !== null){
				parent::setView($view);
			}			
		} catch(Exception $e) {
			die($e->getMessage());
		}
	}
コード例 #2
0
ファイル: sensorsettings.php プロジェクト: balucio/smac
    public function __construct($model)
    {
        parent::__construct($model, self::TPL);
        Assets::get()->addJs(['/js/parsley.js', '/js/parsley-i18n/it.js', '/js/bootstrap-timepicker.js', '/js/confirm-delete.js', '/js/sensor-settings.js']);
        Assets::get()->addCss(['/css/sensor-settings.css']);
        Assets::get()->addOnReadyJs('
			$(function () {
				$(\'[data-toggle="tooltip"]\').tooltip({trigger : "click", container : "body"});
			})
		');
    }
コード例 #3
0
ファイル: mainsettings.php プロジェクト: balucio/smac
 public function __construct($model)
 {
     parent::__construct($model, self::TPL);
 }
コード例 #4
0
ファイル: situazione.php プロジェクト: balucio/smac
 public function __construct($model)
 {
     parent::__construct($model, self::TPL);
     Assets::get()->addJs(['/js/highcharts.js', '/js/highcharts-i18n/it_IT.js']);
 }
コード例 #5
0
ファイル: statistiche.php プロジェクト: balucio/smac
 public function __construct($model)
 {
     parent::__construct($model, self::TPL);
     Assets::get()->addJs([]);
 }
コード例 #6
0
ファイル: programsettings.php プロジェクト: balucio/smac
 public function __construct($model)
 {
     parent::__construct($model, self::TPL);
     Assets::get()->addJs(['/js/parsley.js', '/js/parsley-i18n/it.js', '/js/bootstrap-timepicker.js', '/js/confirm-delete.js', '/js/program-settings.js']);
     Assets::get()->addCss(['/css/bootstrap-timepicker.css', '/css/program-settings.css']);
 }