Source

						public function index() {
		extract(Message::aliases());

		$channels = Log::find('all');
		$logs = null;

		$breadcrumbs[] = array(
			'title' => $t('Channels'),
			'url' => array('library' => 'li3_bot', 'controller' => 'logs', 'action' => 'index')
		);

		if ($channel = $this->request->channel) { /* Here for BC */
			$breadcrumbs[] = array(
				'title' => "#{$channel}",
				'url' => null
			);
			$logs = Log::find('all', compact('channel'));

			natsort($logs);
			$logs = array_reverse($logs);
		}
		return compact('channels', 'channel', 'logs', 'breadcrumbs');
	}