<?php

class FooterView extends Slot {

	var $ModuleID = 1;
	var $SectionID = 2;
	var $menu = array();

	function __construct($pquery) {
		parent::__construct($pquery);
//		$this->Cache = 0;
//		$this->Passing = TRUE;
	}

	function init() { 
/*		global $REGISTRY;
		$this->Action->processEvent($this->SectionID,'get_menu',array('id' => 95),$this);
		$this->setSchemeTemplate($this->Scheme);*/
	}

	function fillElements() {
		if ( strpos($_SERVER['REQUEST_URI'], '/welding-systems-dimetrics') !== false ) 
		{
			$this->TempFillEls['LDC'] = array(array());
		}
		else if ( strpos($_SERVER['REQUEST_URI'], '/turbine-services') !== false ) 
		{
			$this->TempFillEls['LTS'] = array(array());
		} 
		else
		{
			$this->TempFillEls['general'] = array(array());
		}
/*		$this->PreparedTemplates = $this->Action->getTemplate($this->SectionID,'get_menu');
		foreach($this->PreparedTemplates as $key => $value)
			$this->menu[] = makeLink($value['path'],$value['label'],array(),$value['anchor'],($value['target']? 'target="_blank" class="copyright"' : 'target="_top" class="copyright"'));
		$this->TempFillEls['items'] = implode(' | ',$this->menu);
		$this->PreparedTemplates = $this->Action->clearTemplate($this->SectionID,'get_menu');*/
	}
}
?>