EasyBlogTableTeamBlogRequest
extends EasyBlogTable
in package
Table of Contents
Properties
- $created : mixed
- $id : mixed
- $ispeding : mixed
- $team_id : mixed
- $user_id : mixed
- $_supportNullValue : mixed
Methods
- __construct() : mixed
- approve() : mixed
- Approves a team request
- bind() : mixed
- Bind the table properties
- canModerate() : mixed
- Determines if the current viewer can moderate this request
- exists() : mixed
- Determines if a request already exists on the site
- 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
- getTeam() : mixed
- Retrieves the team object
- getTitle() : mixed
- Retrieves the translated title
- getUser() : mixed
- Retrieves the user object that initiated this request
- notify() : mixed
- Sends notifications out
- reject() : mixed
- Rejects a team request
- 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.
- sendModerationEmail() : mixed
- Notifies the admin that a new request to join the team
- 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
Properties
$created
public
mixed
$created
= \null
$id
public
mixed
$id
= \null
$ispeding
public
mixed
$ispeding
= \null
$team_id
public
mixed
$team_id
= \null
$user_id
public
mixed
$user_id
= \null
$_supportNullValue
protected
mixed
$_supportNullValue
= true
Methods
__construct()
public
__construct(mixed &$db) : mixed
Parameters
- $db : mixed
approve()
Approves a team request
public
approve() : mixed
Tags
bind()
Bind the table properties
public
bind(mixed $src[, mixed $ignore = [] ]) : mixed
Parameters
- $src : mixed
- $ignore : mixed = []
Tags
canModerate()
Determines if the current viewer can moderate this request
public
canModerate() : mixed
Tags
exists()
Determines if a request already exists on the site
public
exists() : 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
getTeam()
Retrieves the team object
public
getTeam() : mixed
Tags
getTitle()
Retrieves the translated title
public
getTitle() : mixed
Tags
getUser()
Retrieves the user object that initiated this request
public
getUser() : mixed
Tags
notify()
Sends notifications out
public
notify([mixed $reject = false ]) : mixed
Parameters
- $reject : mixed = false
Tags
reject()
Rejects a team request
public
reject() : mixed
Tags
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
sendModerationEmail()
Notifies the admin that a new request to join the team
public
sendModerationEmail() : mixed
Tags
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
toArray()
Converts a table layer into an array
public
toArray() : mixed