EasyBlogModelArchive
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $_pagination : mixed
- $_total : mixed
- $searchables : mixed
Methods
- __construct() : mixed
- getArchiveMinMaxYear() : mixed
- getArchivePostByMonth() : mixed
- Retrieves a list of blog posts by specific month
- getArchivePostCount() : mixed
- getArchivePostCounts() : mixed
- getArchivePostListByMonth() : mixed
- Retrieves a simple list of blog posts by specific month / year
- getFilterType() : mixed
- getPagination() : int
- Method to get a pagination object for the categories
- getPosts() : mixed
- Retrieve a list of blog posts from a specific list of categories
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : int
- Method to get a pagination object for the categories
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$_pagination
public
mixed
$_pagination
= \null
$_total
public
mixed
$_total
= \null
$searchables
public
mixed
$searchables
= array()
Methods
__construct()
public
__construct() : mixed
getArchiveMinMaxYear()
public
getArchiveMinMaxYear([mixed $filterType = 'normal' ]) : mixed
Parameters
- $filterType : mixed = 'normal'
getArchivePostByMonth()
Retrieves a list of blog posts by specific month
public
getArchivePostByMonth([mixed $month = '' ][, mixed $year = '' ][, mixed $showPrivate = false ][, mixed $category = '' ][, mixed $archiveOnly = false ]) : mixed
Parameters
- $month : mixed = ''
- $year : mixed = ''
- $showPrivate : mixed = false
- $category : mixed = ''
- $archiveOnly : mixed = false
Tags
getArchivePostCount()
public
getArchivePostCount([mixed $yearStart = '' ][, mixed $yearStop = '0' ][, mixed $excludeCats = '' ]) : mixed
Parameters
- $yearStart : mixed = ''
- $yearStop : mixed = '0'
- $excludeCats : mixed = ''
getArchivePostCounts()
public
getArchivePostCounts([mixed $yearStart = '' ][, mixed $yearStop = '0' ][, mixed $excludeCats = '' ][, mixed $includeCats = '' ][, mixed $filter = '' ][, mixed $filterId = '' ][, mixed $filterType = 'normal' ]) : mixed
Parameters
- $yearStart : mixed = ''
- $yearStop : mixed = '0'
- $excludeCats : mixed = ''
- $includeCats : mixed = ''
- $filter : mixed = ''
- $filterId : mixed = ''
- $filterType : mixed = 'normal'
getArchivePostListByMonth()
Retrieves a simple list of blog posts by specific month / year
public
getArchivePostListByMonth([mixed $month = '' ][, mixed $year = '' ][, mixed $showPrivate = false ][, mixed $category = '' ][, mixed $filterType = 'normal' ][, mixed $options = array() ]) : mixed
Parameters
- $month : mixed = ''
- $year : mixed = ''
- $showPrivate : mixed = false
- $category : mixed = ''
- $filterType : mixed = 'normal'
- $options : mixed = array()
Tags
getFilterType()
public
getFilterType([mixed $filterType = 'normal' ]) : mixed
Parameters
- $filterType : mixed = 'normal'
getPagination()
Method to get a pagination object for the categories
public
getPagination() : int
Tags
Return values
intgetPosts()
Retrieve a list of blog posts from a specific list of categories
public
getPosts([mixed $categories = array() ][, mixed $limit = null ]) : mixed
Parameters
- $categories : mixed = array()
- $limit : mixed = null
Tags
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
Method to get a pagination object for the categories
public
getTotal() : int
Tags
Return values
intgetUserStateFromRequest()
Gets the value of a user state variable.
public
getUserStateFromRequest(mixed $key, mixed $request[, mixed $default = null ][, mixed $type = 'none' ]) : mixed
Parameters
- $key : mixed
- $request : mixed
- $default : mixed = null
- $type : mixed = 'none'
bindTable()
protected
bindTable(mixed $tableName, mixed $result) : mixed
Parameters
- $tableName : mixed
- $result : mixed
implodeValues()
protected
implodeValues(mixed $data) : mixed
Parameters
- $data : mixed
populateState()
Stock method to auto-populate the model state.
protected
populateState() : void