summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SampleLayout.php
blob: d8bd5552c04ce65bbb1a1aa10683e18d86aa4b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

class SampleLayout extends TTemplateControl
{
	public function __construct()
	{
		if(isset($this->Request['notheme']))
			$this->Service->RequestedPage->EnableTheming=false;
		parent::__construct();
	}
}