Documentation

EasyBlogModelSearch extends EasyBlogAdminModel
in package

Table of Contents

Properties

$_data  : mixed
$_includeArchive  : mixed
$_ordering  : mixed
$_pagination  : mixed
$_sort  : mixed
$_tags  : mixed
$_total  : mixed
$searchables  : mixed

Methods

__construct()  : mixed
_buildQuery()  : mixed
getData()  : mixed
getPagination()  : mixed
getSearchableItems()  : mixed
Get searchable columns
getTotal()  : mixed
getUserStateFromRequest()  : mixed
Gets the value of a user state variable.
normalizeTerms()  : mixed
Normalize the search term
searchTermsExist()  : mixed
Checks an object content and see whether still contain those search term (after stripping blog content of HTML).
searchText()  : mixed
setArchiveSearch()  : mixed
Method to update the includeArchive flag
setOrdering()  : mixed
Method to set the query's sort ordering
setSorting()  : mixed
Method to set the query sorting
setTags()  : mixed
Method to update the includeArchive flag
bindTable()  : mixed
implodeValues()  : mixed
populateState()  : void
Stock method to auto-populate the model state.

Properties

$_data

public mixed $_data = \null

$_includeArchive

public mixed $_includeArchive = \null

$_ordering

public mixed $_ordering = \null

$_pagination

public mixed $_pagination = \null

$_sort

public mixed $_sort = \null

$_tags

public mixed $_tags = \null

$_total

public mixed $_total = \null

$searchables

public mixed $searchables = array()

Methods

__construct()

public __construct() : mixed

_buildQuery()

public _buildQuery() : mixed

getData()

public getData() : mixed

getPagination()

public getPagination() : mixed

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'

normalizeTerms()

Normalize the search term

public normalizeTerms([mixed $escapeTerm = true ]) : mixed
Parameters
$escapeTerm : mixed = true
Tags
since
5.4.2
access

public

searchTermsExist()

Checks an object content and see whether still contain those search term (after stripping blog content of HTML).

public searchTermsExist(mixed $content, mixed $searchTerms[, mixed $phrase = '' ]) : mixed
Parameters
$content : mixed
$searchTerms : mixed
$phrase : mixed = ''
Tags
since
5.4.2
access

public

searchText()

public searchText(mixed $text[, mixed $options = array() ]) : mixed
Parameters
$text : mixed
$options : mixed = array()

setArchiveSearch()

Method to update the includeArchive flag

public setArchiveSearch([mixed $allow = true ]) : mixed
Parameters
$allow : mixed = true
Tags
since
6.0
access

public

setOrdering()

Method to set the query's sort ordering

public setOrdering(mixed $ordering) : mixed
Parameters
$ordering : mixed
Tags
since
6.0
access

public

setSorting()

Method to set the query sorting

public setSorting(mixed $sort) : mixed
Parameters
$sort : mixed
Tags
since
6.0
access

public

setTags()

Method to update the includeArchive flag

public setTags(mixed $tagIds) : mixed
Parameters
$tagIds : mixed
Tags
since
6.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