[eluser]InsiteFX[/eluser]
Something like this should give you a start.
Code:
// -----------------------------------------------------------------------
/**
* manage()
*
* Description:
*
* @access public
* @return void
*/
public function manage()
{
// Get an array of users from the database
$data = $this->users->get_users();
// Set headings for the table
$this->table->set_heading('User Name', 'Email', 'Actions');
foreach ($data as $value => $key)
{
// Build action links
$actions = anchor("admin/users/edit/".$key['id']."/", "Edit") .
anchor("admin/users/delete/".$key['id']."/", "Delete");
// Add row to table
$this->table->add_row($key['username'], $key['email'], $actions);
}
}