public function getAllWithoutPaginationByPostType($lang = "", $postType = "")
    {
        return DB::table('tags')->join('post_type', 'post_type.postTypeID', 'tags.postTypeID')->where('post_type.slug', $postType)->orderBy('name', 'postTypeID')->get();
    }
public function getAllWithoutPaginationByPostType($lang = "", $postType = "")
    {
        return DB::table('tags')->join('post_type', 'post_type.postTypeID', 'tags.postTypeID')->where('post_type.slug', $postType)->orderBy('name', 'postTypeID')->get();
    }
public function getAllWithoutPaginationByPostType ( $ lang = "" , $ postType = "" ) { return DB :: table ( 'tags' ) -> join ( 'post_type' , 'post_type.postTypeID' , 'tags.postTypeID' ) -> where ( 'post_type.slug' , $ postType ) -> orderBy ( 'name' , 'postTypeID' ) -> get ( ) ; }
Get all categories without pagination filtering by post type.

@param  string $lang
@param  string $postType
@return \Illuminate\Support\Collection
Get all categories without pagination filtering by post type .