public function init()
 {
     $this->cacheFor(24 * 60 * 60);
     $vhm = $this->getServiceLocator()->get('viewhelpermanager');
     $headerLinks = $vhm->get('headerLinks');
     $basePath = $vhm->get('basePath');
     $cats = \ATPCms\Model\Category::headerCategories();
     foreach ($cats as $cat) {
         $headerLinks($cat->name, $basePath() . "/cms/category/" . $cat->url);
     }
     $headerLinks->setTitle("Links");
 }