Ejemplo n.º 1
0
	protected function fnLoadSettings($arrParams)
	{
		$this->hdlDb = $arrParams[0];
		$this->hdlTpl = $arrParams[1];
		$this->strModule = $arrParams[2];
		$this->strAction = $arrParams[3];
		$this->G = clsUtil::fnGETParams(); //FILTER VALUES FROM GET
		$this->P = clsUtil::fnPOSTParams(); //FILTER VALUES FROM POST
		$this->R = clsUtil::fnREQUESTParams();
		
		
		# LOAD TEMPLATE FILE
        if(!is_null($this->hdlTpl))
        {
            $this->hdlTpl->loadTemplateFile($this->strAction.".tpl.html",1,1);
        }   
       
    	//SEO MANAGEMENT
		$this->META_DESC = '';
		$this->META_KEYWORDS = '';
		$this->META_ROBOTS = ''; //INDEX,FOLLOW
		
		//LAYOUT MANAGEMENT
		$this->CSS = true;
		$this->JS = true;
		
		$this->GLOBALTPL = "_global";
		
		
		//LEFT n RIGHT PANEL MANAGEMENT
		$this->LEFT_PANEL = false;
		$this->RIGHT_PANEL = false;
		$this->GLOBAL_PANEL = false;
		
		$this->IS_DEFAULT_LEFT = false;
		$this->IS_DEFAULT_RIGHT = false;
		
		$this->GET_LEFT_FROM_OTH_MODULE = ""; //GET LEFT PPANEL FROM OTHER MODULE
		$this->GET_RIGHT_FROM_OTH_MODULE = ""; //GET RIGHT PANEL FROM OTHER MODULE
		
		$this->BREADCRUMB_SEPERATOR = " > ";
		$this->THEME = "default";
	
	}