Documentation

EasyBlogModelFields extends EasyBlogAdminModel
in package

Table of Contents

Properties

$_total  : mixed
$pagination  : mixed
$searchables  : mixed

Methods

__construct()  : mixed
clearSearchFilter()  : mixed
Allow caller to clear search filter
deleteBlogFields()  : mixed
Deletes associated field values for a particular blog post
deleteFieldValue()  : mixed
Deletes custom fields values given the field id
deleteGroupAssociation()  : mixed
Removes association between a custom field group and the category
getBlogProperties()  : mixed
getFieldClassValue()  : mixed
Retrieves the field custom class value
getFieldValues()  : mixed
Retrieves the custom field value
getGroups()  : mixed
Retrieve a list of custom field groups on the site
getItems()  : mixed
getMaxOrdering()  : mixed
Rebuiling ordering
getPagination()  : mixed
getSavedFilter()  : mixed
Determine if the logged in user has filter saved
getSearchableItems()  : mixed
Get searchable columns
getTotal()  : mixed
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
preloadFields()  : mixed
Preload a list of custom fields for each posts
rebuildOrdering()  : mixed
Rebuiling ordering
saveSearchFilter()  : mixed
Allow caller to save search filter
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Stock method to auto-populate the model state.

Properties

$_total

public mixed $_total = \null

$pagination

public mixed $pagination = \null

$searchables

public mixed $searchables = array()

Methods

__construct()

public __construct() : mixed

clearSearchFilter()

Allow caller to clear search filter

public clearSearchFilter([mixed $cid = 0 ]) : mixed
Parameters
$cid : mixed = 0
Tags
since
5.1
access

public

deleteBlogFields()

Deletes associated field values for a particular blog post

public deleteBlogFields(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
4.0
access

public

deleteFieldValue()

Deletes custom fields values given the field id

public deleteFieldValue(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
4.0
access

public

deleteGroupAssociation()

Removes association between a custom field group and the category

public deleteGroupAssociation(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
4.0
access

public

getBlogProperties()

public getBlogProperties(mixed $categoryId) : mixed
Parameters
$categoryId : mixed
Tags
since
4.0
access

public

getFieldClassValue()

Retrieves the field custom class value

public getFieldClassValue(mixed $fieldId, mixed $postId) : mixed
Parameters
$fieldId : mixed
$postId : mixed
Tags
since
5.2
access

public

getFieldValues()

Retrieves the custom field value

public getFieldValues(mixed $fieldId, mixed $blogId) : mixed
Parameters
$fieldId : mixed
$blogId : mixed
Tags
since
4.0
access

public

getGroups()

Retrieve a list of custom field groups on the site

public getGroups() : mixed
Tags
since
4.0
access

public

getItems()

public getItems() : mixed

getMaxOrdering()

Rebuiling ordering

public getMaxOrdering(mixed $groupId) : mixed
Parameters
$groupId : mixed
Tags
since
5.3.0
access

public

getPagination()

public getPagination() : mixed

getSavedFilter()

Determine if the logged in user has filter saved

public getSavedFilter([mixed $cid = 0 ]) : mixed
Parameters
$cid : mixed = 0
Tags
since
5.1
access

public

getSearchableItems()

Get searchable columns

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

public

getTotal()

public getTotal() : mixed

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'

preloadFields()

Preload a list of custom fields for each posts

public preloadFields([mixed $postIds = array() ]) : mixed
Parameters
$postIds : mixed = array()
Tags
since
5.0
access

public

rebuildOrdering()

Rebuiling ordering

public rebuildOrdering([mixed $groupId = 0 ]) : mixed
Parameters
$groupId : mixed = 0
Tags
since
5.3.0
access

public

saveSearchFilter()

Allow caller to save search filter

public saveSearchFilter([mixed $details = '' ][, mixed $cid = 0 ]) : mixed
Parameters
$details : mixed = ''
$cid : mixed = 0
Tags
since
5.1
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