PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/apps/fitness/extend/AppZone.php

http://zoop.googlecode.com/
PHP | 43 lines | 13 code | 3 blank | 27 comment | 1 complexity | 68f041e3e653fa7edeef53f636b3affd MD5 | raw file
 1<?php
 2class AppZone extends GuiZone
 3{
 4	/*
 5	function chooseGui($guiType)
 6	{
 7		$guiVars = GuiGetAssigns();
 8		
 9		switch($guiType)
10		{
11			case 'main':
12				$gui = new AppMainGui();
13				break;
14			
15			default:
16				trigger_error("unknown gui type: $guiType");
17				break;
18		}
19		
20		return $gui;
21	}
22	*/
23	
24	function closePages($p, $z)
25	{
26		if(!$this->displayed())
27			$this->display($p[0]);
28	}
29	
30	function closePosts($p, $z)
31	{
32		Redirect(virtual_url);
33	}
34	
35	//	there's probably a better way to do this.  this is just to change the default for guiType
36	//	we could just make NULL mean 'main' in chooseGui above
37	/*
38	function display($templateName, $guiType = 'main')
39	{
40		parent::display($templateName, $guiType);
41	}
42	*/
43}