PHP 8.1.33
Preview: Controller.php Size: 1.32 KB
/home/jambtst2015/public_html/protected/components/Controller.php

<?php
/**
 * Controller is the customized base controller class.
 * All controller classes for this application should extend from this base class.
 */
class Controller extends CController
{
	/**
	 * @var string the default layout for the controller view. Defaults to '//layouts/column1',
	 * meaning using a single column layout. See 'protected/views/layouts/column1.php'.
	 */
	public $layout='//layouts/column1';
	/**
	 * @var array context menu items. This property will be assigned to {@link CMenu::items}.
	 */
	public $menu=array();
	/**
	 * @var array the breadcrumbs of the current page. The value of this property will
	 * be assigned to {@link CBreadcrumbs::links}. Please refer to {@link CBreadcrumbs::links}
	 * for more details on how to specify this property.
	 */
	public $breadcrumbs=array();
	
	/*public function beforeAction($e){
	  $isUser = Yii::app()->user->getState("isUser");
	  $action = $this->action->Id;
	  $getId = Helpers::getrecord('Examuser','id',Yii::app()->user->getState('member_session_id'),'id');
	  if($getId=='' && $isUser!=''){
		  $this->redirect(Yii::app()->createUrl('home/logoutbody/'));
		  return false;
	  }elseif($isUser=='' && $action!='index' && $getId!=''){
		  //exit('1');
		  $this->redirect(Yii::app()->user->returnUrl);
		  return false;
	  }else{
		  //exit('2');
		  return true;
	  }
    }*/
}

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
2.16 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.32 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.88 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.96 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.63 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.43 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
42.64 KB lrw-r--r-- 2025-11-04 10:28:05
Edit Download
8.77 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
8.17 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.61 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
1.61 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download
2.27 KB lrw-r--r-- 2024-11-22 17:53:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).