APPPATH/classes/controller/index/league.php [ 438 ]
433 $per_page = 20;
434
435 if ( !empty($vars['id']) ) {
436 $vars['list'] = Model::factory('forum')->MessagesList($vars['id'], $page, $per_page);
437 $vars['pagination'] = null;
438 $count_messages = $vars['messages'];
439 if ( $count_messages > $per_page ) {
440 $vars['pagination'] = Pagination::factory(array('total_items' => $count_messages, 'items_per_page' => $per_page));
441 }
442 $vars['page'] = $page;
443 $vars['per_page'] = $per_page;
APPPATH/classes/controller/index/league.php [ 438 ] » Kohana_Core::error_handler(arguments)
APPPATH/classes/controller/index/league.php [ 169 ] » Controller_Index_League->press_conference(arguments)
{PHP internal call} » Controller_Index_League->action_match()
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
DOCROOT/index.php [ 9 ] » Kohana_Request->execute()