Location: PHPKode > projects > simpleMVC > myGifts/includes/UserList.class.php
<?php

class UserList {

	var $users;
	
	function UserList()
	{
		global $database;
		
		$this->users = $database->fetch("select * from gft_user");
	}
	
	function getParams()
	{
	}
}

Controler::registerHandler("userList", "display", "UserList");
Controler::registerHandler("adminUsers", "display", "UserList", null, 2);

?>
Return current item: simpleMVC