public function handleIndex($r) { if ($r->getVar('search') !== null) { return $this->handleSearch($r); } return $this->renderWith('KickAssets'); }