function storeSlug($slug,$title){
        if($slug!='')
            $slug= $this->str_slug($slug);
        else
            $slug= $this->str_slug($title);

        return $this->checkSlugInCategories($slug);
    }