public function getSlug($lang, $postType, $slug)
    {
        return parent::generateSlug($slug, $postType, 'postID', $lang, 0, true);
    }
public function getSlug($lang, $postType, $slug)
    {
        return parent::generateSlug($slug, $postType, 'postID', $lang, 0, true);
    }
public function getSlug ( $ lang , $ postType , $ slug ) { return parent :: generateSlug ( $ slug , $ postType , 'postID' , $ lang , 0 , true ) ; }
This function creates the slug for a category and makes sure that slugs it is not being used from a other category.

@param string $lang     language slug
@param string $postType post type slug
@param string $slug     text to be made slug

@return string generated slug
This function creates the slug for a category and makes sure that slugs it is not being used from a other category .