function listing(){
}
associated with it. The function in the controller can be used to generate data for the view to display.
To make a collection of all the users in your database, write
$this->users =& $this->Users->find('all');
To display this collection in the view (/user/listing.tpl)
{loop users}
get("name"); ?>
{end}