block_base.class.php
432 Bytes
<?php
Abstract Class baseBlock {
/*
* @registry object
*/
protected $tpl;
function __construct($tpl,&$error,$lang,$url,$getParam,$postParam) {
$this->tpl = $tpl;
$this->error = &$error;
$this->lang = $lang;
$this->url = $url;
$this->getParam = $getParam;
$this->postParam = $postParam;
}
/**
* @all controllers must contain an index method
*/
abstract function run();
}
?>