Documentation

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
access

private

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
access

private

Return values
string

buildItemsQueryWhere()

Builds the WHERE clause

public buildItemsQueryWhere([mixed $type = '' ]) : mixed
Parameters
$type : mixed = ''
Tags
since
5.0
access

public

@return

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
since
5.1.9
access

public

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
since
5.0
access

public

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
access

public

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
access

public

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
access

public

Return values
int

getItemsTotal()

Method to get the total nr of the categories

public getItemsTotal([mixed $type = '' ]) : int
Parameters
$type : mixed = ''
Tags
access

public

Return values
int

getMetaInfo()

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
access

public

Return values
int

getPostMeta()

public getPostMeta(mixed $id) : mixed
Parameters
$id : mixed

getSearchableItems()

Get searchable columns

public getSearchableItems(mixed $query) : mixed
Parameters
$query : mixed
Tags
since
5.2.0
access

public

getTotal()

Method to get the total nr of the categories

public getTotal([mixed $type = '' ]) : int
Parameters
$type : mixed = ''
Tags
access

public

Return values
int

getUserStateFromRequest()

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
since
5.0
access

public

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
Tags
since
12.2

        
On this page

Search results