EasyBlogTableOauth
extends EasyBlogTable
in package
Table of Contents
Properties
- $access_token : mixed
- $auto : mixed
- $created : mixed
- $expires : mixed
- $id : mixed
- $message : mixed
- $notify : mixed
- $params : mixed
- $private : mixed
- $request_token : mixed
- $system : mixed
- $type : mixed
- $user_id : mixed
- $_supportNullValue : mixed
Methods
- __construct() : mixed
- addBackup() : mixed
- Add a backup of this current object record into temp table.
- bind() : mixed
- Bind the table properties
- getAccessTokenValue() : mixed
- Retrieves a key value from the access token object.
- getBackup() : mixed
- Return backup record created under this client.
- getDBO() : mixed
- Retrieves the database object
- getExpireDate() : mixed
- Retrieves the expiry date
- getInstance() : mixed
- Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.
- getMessage() : mixed
- getParams() : mixed
- Generic method to retrive raw json params from the table
- getTitle() : mixed
- Retrieves the translated title
- hasPostsShared() : mixed
- Determine if there are any posts being shared under this oauth record.
- isShared() : mixed
- Determines whether a blog post has been shared before.
- loadByUser() : mixed
- loadSystemByType() : mixed
- Deprecated. Use @load instead
- push() : mixed
- Pushes to the oauth site
- 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.
- restoreBackup() : mixed
- Store backup from temp table and migrate data from oauth_posts
- store() : mixed
- Override parent's store method
- toArray() : mixed
- Converts a table layer into an array
Properties
$access_token
public
mixed
$access_token
= ''
$auto
public
mixed
$auto
= 0
$created
public
mixed
$created
= '0000-00-00 00:00:00'
$expires
public
mixed
$expires
= \null
$id
public
mixed
$id
= \null
$message
public
mixed
$message
= ''
$notify
public
mixed
$notify
= \null
$params
public
mixed
$params
= ''
$private
public
mixed
$private
= 0
$request_token
public
mixed
$request_token
= ''
$system
public
mixed
$system
= \null
$type
public
mixed
$type
= ''
$user_id
public
mixed
$user_id
= 0
$_supportNullValue
protected
mixed
$_supportNullValue
= true
Methods
__construct()
public
__construct(mixed $db) : mixed
Parameters
- $db : mixed
addBackup()
Add a backup of this current object record into temp table.
public
addBackup() : mixed
Tags
bind()
Bind the table properties
public
bind(mixed $src[, mixed $ignore = [] ]) : mixed
Parameters
- $src : mixed
- $ignore : mixed = []
Tags
getAccessTokenValue()
Retrieves a key value from the access token object.
public
getAccessTokenValue(mixed $key) : mixed
Parameters
- $key : mixed
Tags
getBackup()
Return backup record created under this client.
public
getBackup() : mixed
Tags
getDBO()
Retrieves the database object
public
getDBO() : mixed
Tags
getExpireDate()
Retrieves the expiry date
public
getExpireDate() : 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.
getMessage()
public
getMessage() : mixed
getParams()
Generic method to retrive raw json params from the table
public
final getParams() : mixed
Tags
getTitle()
Retrieves the translated title
public
getTitle() : mixed
Tags
hasPostsShared()
Determine if there are any posts being shared under this oauth record.
public
hasPostsShared() : mixed
Tags
isShared()
Determines whether a blog post has been shared before.
public
isShared(mixed $postId) : mixed
Parameters
- $postId : mixed
Tags
loadByUser()
public
loadByUser(mixed $id, mixed $type) : mixed
Parameters
- $id : mixed
- $type : mixed
loadSystemByType()
Deprecated. Use @load instead
public
loadSystemByType(mixed $type) : mixed
Parameters
- $type : mixed
push()
Pushes to the oauth site
public
push(EasyBlogPost &$post[, mixed $system = true ][, mixed $reposting = false ][, mixed $force = false ]) : mixed
Parameters
- $post : EasyBlogPost
- $system : mixed = true
- $reposting : mixed = false
- $force : mixed = false
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
restoreBackup()
Store backup from temp table and migrate data from oauth_posts
public
restoreBackup() : mixed
Tags
store()
Override parent's store method
public
store([mixed $updateNulls = false ]) : mixed
Parameters
- $updateNulls : mixed = false
Tags
toArray()
Converts a table layer into an array
public
toArray() : mixed