/**
  * @return Category
  */
 protected function get_category()
 {
     if ($this->category === null) {
         $id_category = $this->get_id_category();
         if (!empty($id_category)) {
             $this->category = $this->get_categories_manager()->get_categories_cache()->get_category($id_category);
         } else {
             $category_class = $this->get_categories_manager()->get_categories_cache()->get_category_class();
             $this->is_new_category = true;
             $this->category = new $category_class();
             $this->category->set_authorizations($this->get_categories_manager()->get_categories_cache()->get_root_category()->get_authorizations());
         }
     }
     return $this->category;
 }