File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/api/events/events.template.php
<?php
class iwp_event_template_parsinguncachedtemplate extends iwp_event_base
{
public $template;
public function __construct (&$template)
{
$this->template = &$template;
parent::__construct();
}
}
class iwp_event_template_uncachedtemplateparsed extends iwp_event_base
{
public $template;
public function __construct (&$template)
{
$this->template = &$template;
parent::__construct();
}
}
class iwp_event_template_includingtemplate extends iwp_event_base
{
/**
* Current instance of iwp_template
*
* @var iwp_template
*/
public $template;
/**
* The path to the cache file being included.
*
* @var unknown_type
*/
public $cacheFile;
public function __construct (&$template, &$cacheFile)
{
$this->template = &$template;
$this->cacheFile = &$cacheFile;
parent::__construct();
}
}
class iwp_event_template_templateincluded extends iwp_event_base
{
/**
* Current instance of iwp_template
*
* @var iwp_template
*/
public $template;
/**
* The path to the cache file being included.
*
* @var unknown_type
*/
public $cacheFile;
public function __construct (&$template, &$cacheFile)
{
$this->template = &$template;
$this->cacheFile = &$cacheFile;
parent::__construct();
}
}
/**
* This class defines the data to be passed through to the event it is named after.
*
* OutputBlockBeforeParseSection is fired by the OutputBlock method before template for that block is parsed and cached.
*
* Cancelling this event will prevent the template from being parsed
*
*/
class iwp_event_template_outputblockbeforeparsesection extends iwp_event_base {
/**
* The current instance of iwp_template being used for parsing
*
* @var iwp_template
*/
public $template;
/**
* The filename about to be parsed. Can be changed by event listeners.
*
* @var string
*/
public $filename;
/**
* The block type
*
* @var string
*/
public $type;
/**
* The block id
*
* @var int
*/
public $id;
/**
* The section the block is being added to
*
* @var string
*/
public $section;
/**
* Empty template data. If a listener cancels this event, the template data should be populated by the listener since the real template will not be parsed.
*
* @var string
*/
public $templateData;
/**
*
* @param iwp_template $template The current instance of iwp_template being used for parsing
* @param string &$filename The filename about to be parsed. Can be changed by event listeners.
* @param string $type The block type
* @param int $id The block id
* @param string $section The section the block is being added to
* @param string &$templateData Empty template data. If a listener cancels this event, the template data should be populated by the listener since the real template will not be parsed.
* @return iwp_event_template_outputblockbeforeparsesection
*/
public function __construct (iwp_template $template, &$filename, $type, $id, $section, &$templateData) {
parent::__construct();
$this->template = $template;
$this->filename = &$filename;
$this->type = $type;
$this->id = $id;
$this->section = $section;
$this->templateData = &$templateData;
}
}