Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * UserList page class file.
4
 *
5
 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
6
 * @link http://www.pradosoft.com/
7
 * @copyright Copyright &copy; 2005-2006 PradoSoft
8
 * @license http://www.pradosoft.com/license/
9
 * @version $Id: UserList.php 1400 2006-09-09 03:13:44Z wei $
10
 * @package Demos
11
 */
12
 
13
/**
14
 * List all users in a repeater.
15
 *
16
 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
17
 * @version $Id: UserList.php 1400 2006-09-09 03:13:44Z wei $
18
 * @package Demos
19
 * @since 3.1
20
 */
21
class UserList extends TPage
22
{
23
	/**
24
	 * Load all the users and display them in a repeater.
25
	 */
26
	function onLoad($param)
27
	{
28
		$userDao = $this->Application->Modules['daos']->getDao('UserDao');
29
		$this->list->DataSource = $userDao->getAllUsers();
30
		$this->list->dataBind();
31
	}
32
}
33
 
34
?>