Documentation

EasyBlogTableBlock extends EasyBlogTable
in package

Table of Contents

Properties

$created  : mixed
$description  : mixed
$element  : mixed
$group  : mixed
$id  : mixed
$keywords  : mixed
$ordering  : mixed
$params  : mixed
$published  : mixed
$title  : mixed
$_supportNullValue  : mixed

Methods

__construct()  : mixed
bind()  : mixed
Bind the table properties
getCreated()  : mixed
getDBO()  : mixed
Retrieves the database object
getForms()  : mixed
Retrieves the form for the block
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
getTitle()  : mixed
Retrieves the translated title
isSystem()  : mixed
Determine if the block is a system block
publish()  : mixed
Publishes a block
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.
store()  : mixed
On Joomla 4, if table object contains array or objects, storing is problematic unlike Joomla 3.
toArray()  : mixed
Converts a table layer into an array
unpublish()  : mixed
Unpublishes a block

Properties

$created

public mixed $created = \null

$description

public mixed $description = \null

$element

public mixed $element = \null

$group

public mixed $group = \null

$id

public mixed $id = \null

$keywords

public mixed $keywords = \null

$ordering

public mixed $ordering = \null

$params

public mixed $params = ""

$published

public mixed $published = \null

$title

public mixed $title = \null

$_supportNullValue

protected mixed $_supportNullValue = true

Methods

__construct()

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

bind()

Bind the table properties

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

public

getCreated()

public getCreated() : mixed

getDBO()

Retrieves the database object

public getDBO() : mixed
Tags
since
6.0.0
access

public

getForms()

Retrieves the form for the block

public getForms() : mixed
Tags
since
5.2.6
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

getTitle()

Retrieves the translated title

public getTitle() : mixed
Tags
since
1.1.0
access

public

isSystem()

Determine if the block is a system block

public isSystem() : mixed
Tags
since
5.2.7
access

public

publish()

Publishes a block

public publish([mixed $pks = null ][, mixed $state = 1 ][, mixed $userId = 0 ]) : mixed
Parameters
$pks : mixed = null
$state : mixed = 1
$userId : mixed = 0
Tags
since
4.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

store()

On Joomla 4, if table object contains array or objects, storing is problematic unlike Joomla 3.

public store([mixed $updateNulls = false ]) : mixed

To fix Joomla 4 storing issues, we override the store behavior and normalize the fields accordingly.

Parameters
$updateNulls : mixed = false
Tags
since
1.1.0
access

public

toArray()

Converts a table layer into an array

public toArray() : mixed
Tags
since
1.1.0
access

public

unpublish()

Unpublishes a block

public unpublish() : mixed
Tags
since
4.0
access

public


        
On this page

Search results