EasyBlogModelMetas
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $data : mixed
- $pagination : mixed
- $searchables : mixed
- $total : mixed
Methods
- __construct() : mixed
- _buildQuery() : string
- Method to build the query for the tags
- _buildQueryOrderBy() : mixed
- _buildQueryWhere() : mixed
- buildItemsQuery() : string
- Method to build the query for the tags
- buildItemsQueryWhere() : mixed
- Builds the WHERE clause
- createMeta() : mixed
- Create meta record
- deleteMetas() : mixed
- Delete metas for particular post
- getData() : array<string|int, mixed>
- Method to get categories item data
- getItems() : array<string|int, mixed>
- Method to get categories item data
- getItemsPagination() : int
- Method to get a pagination object for the categories
- getItemsTotal() : int
- Method to get the total nr of the categories
- getMetaInfo() : mixed
- getPagination() : int
- Method to get a pagination object for the categories
- getPostMeta() : mixed
- getSearchableItems() : mixed
- Get searchable columns
- getTotal() : int
- Method to get the total nr of the categories
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- preloadPostMetas() : mixed
- Preload metas for blog posts.
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$data
public
mixed
$data
= \null
$pagination
public
mixed
$pagination
= \null
$searchables
public
mixed
$searchables
= array()
$total
public
mixed
$total
= \null
Methods
__construct()
public
__construct() : mixed
_buildQuery()
Method to build the query for the tags
public
_buildQuery([mixed $type = '' ]) : string
Parameters
- $type : mixed = ''
Tags
Return values
string_buildQueryOrderBy()
public
_buildQueryOrderBy() : mixed
_buildQueryWhere()
public
_buildQueryWhere([mixed $type = '' ]) : mixed
Parameters
- $type : mixed = ''
buildItemsQuery()
Method to build the query for the tags
public
buildItemsQuery([mixed $type = '' ]) : string
Parameters
- $type : mixed = ''
Tags
Return values
stringbuildItemsQueryWhere()
Builds the WHERE clause
public
buildItemsQueryWhere([mixed $type = '' ]) : mixed
Parameters
- $type : mixed = ''
Tags
createMeta()
Create meta record
public
createMeta(mixed $uid, mixed $type[, mixed $title = '' ][, mixed $keywords = '' ][, mixed $description = '' ]) : mixed
Parameters
- $uid : mixed
- $type : mixed
- $title : mixed = ''
- $keywords : mixed = ''
- $description : mixed = ''
Tags
deleteMetas()
Delete metas for particular post
public
deleteMetas(mixed $id, mixed $type[, mixed $exclude = array() ]) : mixed
Parameters
- $id : mixed
- $type : mixed
- $exclude : mixed = array()
Tags
getData()
Method to get categories item data
public
getData([mixed $type = '' ][, mixed $usePagination = true ]) : array<string|int, mixed>
Parameters
- $type : mixed = ''
- $usePagination : mixed = true
Tags
Return values
array<string|int, mixed>getItems()
Method to get categories item data
public
getItems([mixed $type = '' ][, mixed $usePagination = true ]) : array<string|int, mixed>
Parameters
- $type : mixed = ''
- $usePagination : mixed = true
Tags
Return values
array<string|int, mixed>getItemsPagination()
Method to get a pagination object for the categories
public
getItemsPagination([mixed $type = '' ]) : int
Parameters
- $type : mixed = ''
Tags
Return values
intgetItemsTotal()
Method to get the total nr of the categories
public
getItemsTotal([mixed $type = '' ]) : int
Parameters
- $type : mixed = ''
Tags
Return values
intgetMetaInfo()
public
getMetaInfo(mixed $type, mixed $id) : mixed
Parameters
- $type : mixed
- $id : mixed
getPagination()
Method to get a pagination object for the categories
public
getPagination([mixed $type = '' ]) : int
Parameters
- $type : mixed = ''
Tags
Return values
intgetPostMeta()
public
getPostMeta(mixed $id) : mixed
Parameters
- $id : mixed
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getTotal()
Method to get the total nr of the categories
public
getTotal([mixed $type = '' ]) : int
Parameters
- $type : mixed = ''
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'
preloadPostMetas()
Preload metas for blog posts.
public
preloadPostMetas(mixed $postIds) : mixed
Parameters
- $postIds : mixed
Tags
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