/**
*
*
* @param DiscussionsController $sender Sending controller instance.
* @param array $args Event arguments.
*/
public function discussionsController_unanswered_create($sender, $args)
{
$sender->View = 'Index';
$sender->setData('_PagerUrl', 'discussions/unanswered/{Page}');
// Be sure to display every unanswered question (ie from groups)
$categories = CategoryModel::categories();
$this->EventArguments['Categories'] =& $categories;
$this->fireEvent('UnansweredBeforeSetCategories');
$sender->setCategoryIDs(array_keys($categories));
$sender->index(val(0, $args, 'p1'));
$this->InUnanswered = true;
}