Viewing file: broj.php (2.31 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class clsbroj { //broj class @1-72514CF0
//Variables @1-1987AB94
var $FileName = "";
var $Redirect = "";
var $Tpl = "";
var $TemplateFileName = "";
var $BlockToParse = "";
var $ComponentName = "";
// Events;
var $CCSEvents = "";
var $CCSEventResult = "";
var $TemplatePath;
var $Visible;
//End Variables
//Class_Initialize Event @1-3FAF3835
function clsbroj($path)
{
$this->TemplatePath = $path;
$this->Visible = true;
$this->FileName = "broj.php";
$this->Redirect = "";
$this->TemplateFileName = "broj.html";
$this->BlockToParse = "main";
$this->TemplateEncoding = "";
if($this->Visible)
{
}
}
//End Class_Initialize Event
//Class_Terminate Event @1-A3749DF6
function Class_Terminate()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeUnload");
}
//End Class_Terminate Event
//BindEvents Method @1-F3FA21A4
function BindEvents()
{
$this->CCSEvents["BeforeShow"] = "broj_BeforeShow";
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "AfterInitialize");
}
//End BindEvents Method
//Operations Method @1-7E2A14CF
function Operations()
{
global $Redirect;
if(!$this->Visible)
return "";
}
//End Operations Method
//Initialize Method @1-EDD74DD5
function Initialize()
{
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "OnInitializeView");
if(!$this->Visible)
return "";
}
//End Initialize Method
//Show Method @1-FB83E7C8
function Show($Name)
{
global $Tpl;
$block_path = $Tpl->block_path;
$Tpl->LoadTemplate($this->TemplatePath . $this->TemplateFileName, $Name, $this->TemplateEncoding);
$this->CCSEventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
if(!$this->Visible)
return "";
$Tpl->block_path = $Tpl->block_path . "/" . $Name;
$Tpl->Parse();
$Tpl->block_path = $block_path;
$Tpl->SetVar($Name, $Tpl->GetVar($Name));
}
//End Show Method
} //End broj Class @1-FCB6E20C
//Include Event File @1-9B981CE7
include(RelativePath . "/broj_events.php");
//End Include Event File
?>
|