HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/api/events/events.categories.php
<?php

/**
* This class defines the data to be passed through to the event it is named after.
*
* BeforeShowTemplate is fired on the front end after a valid category is loaded and template variables are assigned, but before the category template is shown
*
* Cancelling this event will prevent the template from being shown
*
*/
class iwp_event_categories_beforeshowtemplate extends iwp_event_base {

	/**
	* The currently loaded category about to be displayed
	*
	* @var iwp_categories
	*/
	public $category;

	/**
	* The current instance of iwp_tempate being used to display the category template
	*
	* @var iwp_template
	*/
	public $template;

	/**
	*
	* @param iwp_categories $category The currently loaded category about to be displayed
	* @param iwp_template $template The current instance of iwp_tempate being used to display the category template
	* @return iwp_event_categories_beforeshowtemplate
	*/
	public function __construct (iwp_categories $category, iwp_template $template) {
		parent::__construct();
		$this->category = $category;
		$this->template = $template;
	}
}