Documentation

EasyBlogModelTags extends EasyBlogAdminModel
in package

Table of Contents

Properties

$pagination  : mixed
$searchables  : mixed
$total  : mixed

Methods

__construct()  : mixed
_buildQueryByBlogger()  : mixed
Displays a list of tags created by the author
_buildQueryByTagBlogs()  : mixed
********************************************************************* These part of codes will used in tag clod tags.
deleteAssociation()  : mixed
Delete blog posts association with the tags
deleteAssociationByTagId()  : mixed
Delete blog posts association with the tags
deleteUserTags()  : mixed
Delete tags from particular user
getBloggerTags()  : mixed
Retrieves tags created by an author author
getData()  : mixed
Generates the listing of tags at the back end
getDefaultTags()  : mixed
Retrieve a default tags
getDefaultTagsTitle()  : mixed
Retrieve a list of tags on the site
getMissingMetaTags()  : mixed
Method to retrive those tags which missing tag metadata.
getPagination()  : mixed
Generates pagination for the back end
getPaginationByBlogger()  : mixed
getPaginationByTagBlogs()  : mixed
getSearchableItems()  : mixed
Get searchable columns
getTagBlogs()  : mixed
getTagCloud()  : mixed
Generates a list of tags on the site
getTagPrivateBlogCount()  : mixed
Get a private post count
getTags()  : mixed
getTagsByBlogger()  : mixed
Retrieves the list of tags created by an author
getTeamBlogCount()  : mixed
getTotalByBlogger()  : mixed
getTotalByTagBlogs()  : mixed
getTotalTags()  : int
Method to get total tags created so far iregardless the status.
getUsedCount()  : mixed
Get post count for tag
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
isExist()  : mixed
preloadByPosts()  : mixed
publish()  : array<string|int, mixed>
Method to publish or unpublish tags
publishItems()  : mixed
Method to publish tags
removeDefault()  : mixed
Allows caller to remove default
search()  : mixed
Searches for a tags given a specific keyword
searchTag()  : mixed
setDefault()  : mixed
Allows caller to set the state of the default
suggest()  : mixed
Searches for a tags given a specific keyword
unpublishItems()  : mixed
Method to unpublish tags
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Populate current stats
setColumn()  : mixed
Set the row's state given the column

Properties

$pagination

public mixed $pagination = \null

$searchables

public mixed $searchables = array()

$total

public mixed $total = \null

Methods

__construct()

public __construct() : mixed

_buildQueryByBlogger()

Displays a list of tags created by the author

public _buildQueryByBlogger(mixed $bloggerId[, mixed $sort = 'title' ]) : mixed
Parameters
$bloggerId : mixed
$sort : mixed = 'title'
Tags
since
5.2
access

public

_buildQueryByTagBlogs()

********************************************************************* These part of codes will used in tag clod tags.

public _buildQueryByTagBlogs() : mixed

deleteAssociation()

Delete blog posts association with the tags

public deleteAssociation(mixed $postId) : mixed
Parameters
$postId : mixed
Tags
since
5.2
access

public

deleteAssociationByTagId()

Delete blog posts association with the tags

public deleteAssociationByTagId(mixed $tagId) : mixed
Parameters
$tagId : mixed
Tags
since
5.2
access

public

deleteUserTags()

Delete tags from particular user

public deleteUserTags(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
since
5.1.0
access

public

getBloggerTags()

Retrieves tags created by an author author

public getBloggerTags([mixed $authorId = null ][, mixed $sort = 'asc' ][, mixed $search = '' ][, mixed $limit = null ]) : mixed
Parameters
$authorId : mixed = null
$sort : mixed = 'asc'
$search : mixed = ''
$limit : mixed = null
Tags
since
5.2
access

public

getData()

Generates the listing of tags at the back end

public getData() : mixed
Tags
since
5.2
access

public

getDefaultTags()

Retrieve a default tags

public getDefaultTags() : mixed
Tags
since
2.1
access

public

getDefaultTagsTitle()

Retrieve a list of tags on the site

public getDefaultTagsTitle() : mixed
Tags
since
5.2
access

public

getMissingMetaTags()

Method to retrive those tags which missing tag metadata.

public getMissingMetaTags() : mixed
Tags
since
6.0.11
access

public

getPagination()

Generates pagination for the back end

public getPagination() : mixed
Tags
since
5.2
access

public

getPaginationByBlogger()

public getPaginationByBlogger(mixed $bloggerId[, mixed $sort = 'title' ]) : mixed
Parameters
$bloggerId : mixed
$sort : mixed = 'title'

getPaginationByTagBlogs()

public getPaginationByTagBlogs() : mixed

getSearchableItems()

Get searchable columns

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

public

getTagBlogs()

public getTagBlogs() : mixed

getTagCloud()

Generates a list of tags on the site

public getTagCloud([mixed $limit = '' ][, mixed $order = 'title' ][, mixed $sort = 'asc' ][, mixed $checkAccess = false ][, mixed $search = '' ][, mixed $categoryBased = false ][, mixed $usePagination = false ]) : mixed
Parameters
$limit : mixed = ''
$order : mixed = 'title'
$sort : mixed = 'asc'
$checkAccess : mixed = false
$search : mixed = ''
$categoryBased : mixed = false
$usePagination : mixed = false
Tags
since
5.2.5
access

public

getTagPrivateBlogCount()

Get a private post count

public getTagPrivateBlogCount(mixed $tagId) : mixed
Parameters
$tagId : mixed
Tags
since
5.2
access

public

getTags()

public getTags([mixed $count = "" ]) : mixed
Parameters
$count : mixed = ""

getTagsByBlogger()

Retrieves the list of tags created by an author

public getTagsByBlogger(mixed $bloggerId[, mixed $usePagination = true ][, mixed $sort = 'title' ]) : mixed
Parameters
$bloggerId : mixed
$usePagination : mixed = true
$sort : mixed = 'title'
Tags
since
5.2
access

public

getTeamBlogCount()

public getTeamBlogCount(mixed $tagId) : mixed
Parameters
$tagId : mixed

getTotalByBlogger()

public getTotalByBlogger(mixed $bloggerId[, mixed $sort = 'title' ]) : mixed
Parameters
$bloggerId : mixed
$sort : mixed = 'title'

getTotalByTagBlogs()

public getTotalByTagBlogs() : mixed

getTotalTags()

Method to get total tags created so far iregardless the status.

public getTotalTags([mixed $userId = 0 ]) : int
Parameters
$userId : mixed = 0
Tags
access

public

Return values
int

getUsedCount()

Get post count for tag

public getUsedCount(mixed $tagId[, mixed $published = false ]) : mixed
Parameters
$tagId : mixed
$published : mixed = false
Tags
since
5.2
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'

isExist()

public isExist(mixed $tagName[, mixed $excludeTagIds = '0' ]) : mixed
Parameters
$tagName : mixed
$excludeTagIds : mixed = '0'

preloadByPosts()

public preloadByPosts(array<string|int, mixed> $postIds) : mixed
Parameters
$postIds : array<string|int, mixed>

publish()

Method to publish or unpublish tags

public publish(mixed &$tags[, mixed $publish = 1 ]) : array<string|int, mixed>
Parameters
$tags : mixed
$publish : mixed = 1
Tags
access

public

Return values
array<string|int, mixed>

publishItems()

Method to publish tags

public publishItems(mixed $ids) : mixed
Parameters
$ids : mixed
Tags
since
5.2
access

public

removeDefault()

Allows caller to remove default

public removeDefault(mixed $ids) : mixed
Parameters
$ids : mixed
Tags
since
5.2
access

public

Searches for a tags given a specific keyword

public search(mixed $keyword[, mixed $wordSearch = true ][, mixed $limit = null ]) : mixed
Parameters
$keyword : mixed
$wordSearch : mixed = true
$limit : mixed = null
Tags
since
5.2
access

public

searchTag()

public searchTag(mixed $title) : mixed
Parameters
$title : mixed

setDefault()

Allows caller to set the state of the default

public setDefault(mixed $ids) : mixed
Parameters
$ids : mixed
Tags
since
5.2
access

public

suggest()

Searches for a tags given a specific keyword

public suggest(mixed $keyword[, mixed $limit = null ]) : mixed
Parameters
$keyword : mixed
$limit : mixed = null
Tags
since
5.2
access

public

unpublishItems()

Method to unpublish tags

public unpublishItems(mixed $ids) : mixed
Parameters
$ids : 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()

Populate current stats

protected populateState() : void
Tags
since
5.2
access

public

setColumn()

Set the row's state given the column

private setColumn(mixed $ids, mixed $column[, mixed $state = true ]) : mixed
Parameters
$ids : mixed
$column : mixed
$state : mixed = true
Tags
since
5.2
access

private


        
On this page

Search results