Documentation

EasyBlogModelPostTag extends EasyBlogAdminModel
in package

Table of Contents

Properties

$searchables  : mixed

Methods

__construct()  : mixed
Constructor
add()  : mixed
This method add associated tag in the post
deletePostTag()  : mixed
This method delete those associated tag in the post
exist()  : mixed
Determine whether the tag already associated in the post
getBlogTags()  : mixed
Retrieves a list of tags associated with a post
getSearchableItems()  : mixed
Get searchable columns
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
isAssociated()  : mixed
Tests if a particular tag id is associated with a blog post already.
preload()  : mixed
This method reduces the number of query hit on the server
savePostTag()  : mixed
This method add new tag when post save
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Stock method to auto-populate the model state.

Properties

$searchables

public mixed $searchables = array()

Methods

__construct()

Constructor

public __construct() : mixed
Tags
since
1.5

add()

This method add associated tag in the post

public add(mixed $tagId, mixed $blogId, mixed $creationDate[, mixed $isRevision = false ]) : mixed
Parameters
$tagId : mixed
$blogId : mixed
$creationDate : mixed
$isRevision : mixed = false
Tags
since
5.2
access

public

deletePostTag()

This method delete those associated tag in the post

public deletePostTag(mixed $blogId[, mixed $isRevision = false ]) : mixed
Parameters
$blogId : mixed
$isRevision : mixed = false
Tags
since
5.2
access

public

exist()

Determine whether the tag already associated in the post

public exist(mixed $tagId, mixed $blogId) : mixed
Parameters
$tagId : mixed
$blogId : mixed
Tags
since
5.2
access

public

getBlogTags()

Retrieves a list of tags associated with a post

public getBlogTags(mixed $id[, mixed $published = true ][, mixed $excludeRevision = true ]) : mixed
Parameters
$id : mixed
$published : mixed = true
$excludeRevision : mixed = true
Tags
since
5.0
access

public

getSearchableItems()

Get searchable columns

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

public

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'

isAssociated()

Tests if a particular tag id is associated with a blog post already.

public isAssociated(mixed $blogId, mixed $tagId) : mixed
Parameters
$blogId : mixed
$tagId : mixed
Tags
since
5.2
access

public

preload()

This method reduces the number of query hit on the server

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

public

savePostTag()

This method add new tag when post save

public savePostTag(mixed $value) : mixed
Parameters
$value : mixed
Tags
since
5.2
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