Documentation

EasyBlogTableTag extends EasyBlogTable
in package

Table of Contents

Properties

$alias  : mixed
$created  : mixed
$created_by  : mixed
$default  : mixed
$description  : mixed
$id  : mixed
$language  : mixed
$ordering  : mixed
$params  : mixed
$published  : mixed
$status  : mixed
$title  : mixed
$_supportNullValue  : mixed

Methods

__construct()  : mixed
addMeta()  : mixed
add / update meta for tag
aliasExists()  : mixed
Determines if the alias exists
bind()  : mixed
Overrides parent's bind method to add our own logic.
canDelete()  : mixed
Determines if a user can delete this tag
canManage()  : mixed
Determines if a user can manage this tag
delete()  : mixed
Overrides parent's delete method to add our own logic.
deletePostTag()  : mixed
Delete all associated blog posts with this tag
exists()  : mixed
Determines if the tag already exists
getAlias()  : mixed
Retrieves the alias of a tag
getDBO()  : mixed
Retrieves the database object
getDefaultParams()  : mixed
Retrieve a list of tags that is associated with this tag
getDescription()  : mixed
Gets the translated tag description
getExternalPermalink()  : mixed
Retrieves the external permalink for this blog post
getInstance()  : mixed
Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.
getParams()  : mixed
Generic method to retrive raw json params from the table
getPermalink()  : mixed
Gets the tag permalink
getPostCount()  : mixed
Retrieves the number of posts that are associated with this tag.
getRssLink()  : mixed
Retrieves rss link for the tag
getTitle()  : mixed
Gets the translated tag title
load()  : mixed
Loads a tag
publishItem()  : mixed
Publishes this tag
removeDefault()  : mixed
Removes a tag from default
reset()  : void
Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties.
setDefault()  : mixed
Sets a tag as default
store()  : mixed
Saves a tag on the site
toArray()  : mixed
Converts a table layer into an array
unpublishItem()  : mixed
Unpublishes this tag

Properties

$alias

public mixed $alias = ''

$created

public mixed $created = \null

$created_by

public mixed $created_by = \null

$default

public mixed $default = \null

$description

public mixed $description = ''

$id

public mixed $id = \null

$language

public mixed $language = ''

$ordering

public mixed $ordering = \null

$params

public mixed $params = \null

$published

public mixed $published = \null

$status

public mixed $status = \null

$title

public mixed $title = ''

$_supportNullValue

protected mixed $_supportNullValue = true

Methods

__construct()

public __construct(mixed &$db) : mixed
Parameters
$db : mixed

addMeta()

add / update meta for tag

public addMeta() : mixed
Tags
since
6.0.11
access

public

aliasExists()

Determines if the alias exists

public aliasExists() : mixed
Tags
since
5.0
access

public

bind()

Overrides parent's bind method to add our own logic.

public bind(mixed $data[, mixed $ignore = [] ]) : mixed
Parameters
$data : mixed
$ignore : mixed = []
Tags
since
4.0
access

public

canDelete()

Determines if a user can delete this tag

public canDelete([mixed $viewerId = null ]) : mixed
Parameters
$viewerId : mixed = null
Tags
since
6.0.0
access

public

canManage()

Determines if a user can manage this tag

public canManage([mixed $viewerId = null ]) : mixed
Parameters
$viewerId : mixed = null
Tags
since
6.0.0
access

public

delete()

Overrides parent's delete method to add our own logic.

public delete([mixed $pk = null ]) : mixed
Parameters
$pk : mixed = null
Tags
since
4.0
access

public

deletePostTag()

Delete all associated blog posts with this tag

public deletePostTag() : mixed
Tags
since
4.0
access

public

exists()

Determines if the tag already exists

public exists(mixed $title[, mixed $isNew = true ]) : mixed
Parameters
$title : mixed
$isNew : mixed = true
Tags
since
5.1
access

public

getAlias()

Retrieves the alias of a tag

public getAlias() : mixed
Tags
since
5.0
access

public

getDBO()

Retrieves the database object

public getDBO() : mixed
Tags
since
6.0.0
access

public

getDefaultParams()

Retrieve a list of tags that is associated with this tag

public getDefaultParams() : mixed
Tags
since
5.0
access

public

getDescription()

Gets the translated tag description

public getDescription() : mixed
Tags
since
6.0.11
access

public

Retrieves the external permalink for this blog post

public getExternalPermalink([mixed $format = null ]) : mixed
Parameters
$format : mixed = null
Tags
since
4.0
access

public

getInstance()

Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.

public static getInstance(string $type[, string $prefix = 'JTable' ][, array<string|int, mixed> $config = [] ]) : mixed
Parameters
$type : string

The type (name) of the JTable class to get an instance of.

$prefix : string = 'JTable'

An optional prefix for the table class name.

$config : array<string|int, mixed> = []

An optional array of configuration values for the JTable object.

Tags
link
http://docs.joomla.org/JTable/getInstance
since
11.1
Return values
mixed

A JTable object if found or boolean false if one could not be found.

getParams()

Generic method to retrive raw json params from the table

public final getParams() : mixed
Tags
since
1.1.0
access

public

Gets the tag permalink

public getPermalink([mixed $xhtml = true ]) : mixed
Parameters
$xhtml : mixed = true
Tags
since
4.0
access

public

getPostCount()

Retrieves the number of posts that are associated with this tag.

public getPostCount() : mixed
Tags
since
5.0
access

public

Retrieves rss link for the tag

public getRssLink() : mixed
Tags
since
4.0
access

public

getTitle()

Gets the translated tag title

public getTitle() : mixed
Tags
since
4.0
access

public

load()

Loads a tag

public load([mixed $id = null ][, mixed $loadByTitle = false ][, mixed $debug = false ]) : mixed
Parameters
$id : mixed = null
$loadByTitle : mixed = false
$debug : mixed = false
Tags
since
5.0
access

public

publishItem()

Publishes this tag

public publishItem() : mixed
Tags
since
6.0.0
access

public

removeDefault()

Removes a tag from default

public removeDefault() : mixed
Tags
since
6.0.0
access

public

reset()

Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties.

public reset() : void
Tags
link
http://docs.joomla.org/JTable/reset
since
11.1

setDefault()

Sets a tag as default

public setDefault() : mixed
Tags
since
6.0.0
access

public

store()

Saves a tag on the site

public store([mixed $updateNulls = false ]) : mixed
Parameters
$updateNulls : mixed = false
Tags
since
5.0
access

public

toArray()

Converts a table layer into an array

public toArray() : mixed
Tags
since
1.1.0
access

public

unpublishItem()

Unpublishes this tag

public unpublishItem() : mixed
Tags
since
6.0.0
access

public


        
On this page

Search results