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
deleteBlogFields()
Deletes associated field values for a particular blog post
public
deleteBlogFields(mixed $id) : mixed
Parameters
- $id : mixed
Tags
deleteFieldValue()
Deletes custom fields values given the field id
public
deleteFieldValue(mixed $id) : mixed
Parameters
- $id : mixed
Tags
deleteGroupAssociation()
Removes association between a custom field group and the category
public
deleteGroupAssociation(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getBlogProperties()
public
getBlogProperties(mixed $categoryId) : mixed
Parameters
- $categoryId : mixed
Tags
getFieldClassValue()
Retrieves the field custom class value
public
getFieldClassValue(mixed $fieldId, mixed $postId) : mixed
Parameters
- $fieldId : mixed
- $postId : mixed
Tags
getFieldValues()
Retrieves the custom field value
public
getFieldValues(mixed $fieldId, mixed $blogId) : mixed
Parameters
- $fieldId : mixed
- $blogId : mixed
Tags
getGroups()
Retrieve a list of custom field groups on the site
public
getGroups() : mixed
Tags
getItems()
public
getItems() : mixed
getMaxOrdering()
Rebuiling ordering
public
getMaxOrdering(mixed $groupId) : mixed
Parameters
- $groupId : mixed
Tags
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
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
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
rebuildOrdering()
Rebuiling ordering
public
rebuildOrdering([mixed $groupId = 0 ]) : mixed
Parameters
- $groupId : mixed = 0
Tags
saveSearchFilter()
Allow caller to save search filter
public
saveSearchFilter([mixed $details = '' ][, mixed $cid = 0 ]) : mixed
Parameters
- $details : mixed = ''
- $cid : mixed = 0
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