EasyBlogTableMedia
extends EasyBlogTable
in package
Table of Contents
Properties
- $created : mixed
- $created_by : mixed
- $filename : mixed
- $icon : mixed
- $id : mixed
- $key : mixed
- $params : mixed
- $parent : mixed
- $place : mixed
- $preview : mixed
- $title : mixed
- $type : mixed
- $uri : mixed
- $url : mixed
- $_supportNullValue : mixed
Methods
- __construct() : mixed
- bind() : mixed
- Bind the table properties
- getDBO() : mixed
- Retrieves the database object
- 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
- getPreview() : mixed
- Retrieves the preview link
- getTitle() : mixed
- Retrieves the translated title
- getVariations() : mixed
- Renders a list of variations for a media item.
- isImage() : mixed
- 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
- Override parent's implementation of store
- toArray() : mixed
- Converts a table layer into an array
- updateVariations() : mixed
- Allows caller to pass in a list of variations to be updated
Properties
$created
public
mixed
$created
= \null
$created_by
public
mixed
$created_by
= \null
$filename
public
mixed
$filename
= \null
$icon
public
mixed
$icon
= \null
$id
public
mixed
$id
= \null
$key
public
mixed
$key
= \null
$params
public
mixed
$params
= \null
$parent
public
mixed
$parent
= \null
$place
public
mixed
$place
= \null
$preview
public
mixed
$preview
= \null
$title
public
mixed
$title
= \null
$type
public
mixed
$type
= \null
$uri
public
mixed
$uri
= \null
$url
public
mixed
$url
= \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
getDBO()
Retrieves the database object
public
getDBO() : mixed
Tags
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
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
getPreview()
Retrieves the preview link
public
getPreview() : mixed
Tags
getTitle()
Retrieves the translated title
public
getTitle() : mixed
Tags
getVariations()
Renders a list of variations for a media item.
public
getVariations() : mixed
Tags
isImage()
public
isImage() : mixed
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
store()
Override parent's implementation of store
public
store([mixed $updateNulls = false ]) : mixed
Parameters
- $updateNulls : mixed = false
Tags
toArray()
Converts a table layer into an array
public
toArray() : mixed
Tags
updateVariations()
Allows caller to pass in a list of variations to be updated
public
updateVariations(mixed $variations) : mixed
Parameters
- $variations : mixed