modLatestBlogsHelper
        
        extends EasyBlog
    
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $lib : mixed
- $my : mixed
- $params : mixed
- $string : mixed
Methods
- __construct() : mixed
- getAuthorPosts() : mixed
- Retrieves recent posts by author
- getCategoryPosts() : mixed
- Retrieves recent posts
- getEntryPosts() : mixed
- Retrieves recent posts by author of a particular article. This only works on view=entry
- getError() : mixed
- getErrors() : mixed
- getItems() : mixed
- Retrieve items based on a particular set of filter type
- getPosts() : mixed
- Retrieves the latest posts
- getRecentPosts() : mixed
- Retrieves recent posts
- getTagsPosts() : mixed
- Retrieves recent posts by a specific tag
- getTeamPosts() : mixed
- Retrieves recent posts by a specific team
- getViewAllLink() : mixed
- Determine the view all link based on the module filter type.
- getViewerPosts() : mixed
- Retrieves posts by the current logged in user
- hasError() : mixed
- hasErrors() : mixed
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- normalizeFilterType() : mixed
- Normalize legacy values for post types
- setError() : mixed
Properties
$app
    public
        mixed
    $app
     = \null
    
    
    
    
$config
    public
        mixed
    $config
     = \null
    
    
    
    
$db
    public
        mixed
    $db
     = \null
    
    
    
    
$doc
    public
        mixed
    $doc
     = \null
    
    
    
    
$input
    public
        mixed
    $input
     = \null
    
    
    
    
$jconfig
    public
        mixed
    $jconfig
     = \null
    
    
    
    
$lang
    public
        mixed
    $lang
     = \null
    
    
    
    
$lib
    public
        mixed
    $lib
     = \null
    
    
    
    
$my
    public
        mixed
    $my
     = \null
    
    
    
    
$params
    public
        mixed
    $params
     = []
    
    
    
    
$string
    public
        mixed
    $string
     = \null
    
    
    
    
Methods
__construct()
    public
                    __construct(mixed $modules) : mixed
    Parameters
- $modules : mixed
getAuthorPosts()
Retrieves recent posts by author
    public
                    getAuthorPosts() : mixed
    Tags
getCategoryPosts()
Retrieves recent posts
    public
                    getCategoryPosts() : mixed
    Tags
getEntryPosts()
Retrieves recent posts by author of a particular article. This only works on view=entry
    public
                    getEntryPosts() : mixed
    Tags
getError()
    public
                    getError() : mixed
    getErrors()
    public
                    getErrors() : mixed
    getItems()
Retrieve items based on a particular set of filter type
    public
                    getItems(mixed $filterType) : mixed
    Parameters
- $filterType : mixed
Tags
getPosts()
Retrieves the latest posts
    public
                    getPosts([mixed $id = null ][, mixed $type = 'latest' ]) : mixed
    Parameters
- $id : mixed = null
- $type : mixed = 'latest'
Tags
getRecentPosts()
Retrieves recent posts
    public
                    getRecentPosts() : mixed
    Tags
getTagsPosts()
Retrieves recent posts by a specific tag
    public
                    getTagsPosts() : mixed
    Tags
getTeamPosts()
Retrieves recent posts by a specific team
    public
                    getTeamPosts() : mixed
    Tags
getViewAllLink()
Determine the view all link based on the module filter type.
    public
                    getViewAllLink(mixed $type) : mixed
    Parameters
- $type : mixed
Tags
getViewerPosts()
Retrieves posts by the current logged in user
    public
                    getViewerPosts() : mixed
    Tags
hasError()
    public
                    hasError() : mixed
    hasErrors()
    public
                    hasErrors() : mixed
    isMobile()
Determines if this is a mobile layout
    public
                    isMobile() : mixed
    Tags
isTablet()
Determines if this is a tablet layout
    public
                    isTablet() : mixed
    Tags
loadLanguage()
Helper method to load language
    public
                    loadLanguage([mixed $admin = false ]) : mixed
    Parameters
- $admin : mixed = false
Tags
normalizeFilterType()
Normalize legacy values for post types
    public
                    normalizeFilterType(mixed $type) : mixed
    Parameters
- $type : mixed
Tags
setError()
    public
                    setError(mixed $msg) : mixed
    Parameters
- $msg : mixed