PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/apps/timeline/zones/ZoneDefault.php

http://zoop.googlecode.com/
PHP | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | 99e8f48c174770bcadd680b9a761a91b MD5 | raw file
 1<?
 2class ZoneDefault extends AppZone
 3{
 4	public function pageDefault($p, $z)
 5	{
 6		
 7	}
 8	
 9	public function pageTimeline()
10	{
11		$this->layout = 'plain';
12	}
13	
14	public function pageData($p, $z)
15	{
16		header('Content-type: text/xml');
17		$this->layout = 'plain';
18		
19		$entries = DbObject::_find('Entry');
20		$this->assign('entries', $entries);		
21	}
22}