<?php

class TemplateItemView extends Slot {
	
	var $ModuleID = 3;
	var $SectionID = 38;
	
	function __construct($pquery) {
		parent::__construct($pquery);
		$this->Cache = 0;
		$this->Passing = TRUE;
	}
	
	function init(){
		if(empty($this->LocalTarget[0])) return;
		$this->Action->processEvent($this->SectionID, 'open_item', array('uid' => $this->LocalTarget[0]), $this);
		$this->setSchemeTemplate($this->Scheme);
	}
	
	function fillElements() {
		switch($this->Scheme) {
			default: $this->fillDefault(); break;
		}
	}
	
	function fillDefault(){
		$this->TempFillEls = $this->PreparedTemplates;
		$this->PreparedTemplates = $this->Action->clearTemplate($this->SectionID, 'open_item');
	}
}

?>