ao->groups() as $go)
$output .= sprintf('Group %s: %s
',$go->id,$go->display('name'));
Block::factory()
->title('Group Structure')
->body($output);
// List all available methods for this user.
$output = '';
foreach ($this->ao->methods() as $mmo)
$output .= sprintf('Module: %s, Method %s: %s
',$mmo->module->name,$mmo->name,$mmo->url());
Block::factory()
->title('Available Methods')
->body($output);
}
}
?>