EasyBlogTableProfile
extends EasyBlogTable
in package
Table of Contents
Properties
- $avatar : mixed
- $biography : mixed
- $custom_css : mixed
- $description : mixed
- $id : mixed
- $nickname : mixed
- $oauthClients : mixed
- $ordering : mixed
- $params : mixed
- $permalink : mixed
- $title : mixed
- $url : mixed
- $user : mixed
- $_supportNullValue : mixed
Methods
- __construct() : mixed
- bind() : mixed
- Binds an array of data with the current profile object.
- bindAdsense() : mixed
- Binds users oauth settings
- bindAvatar() : mixed
- Binds avatar
- bindFeedburner() : mixed
- Binds feedburner settings
- bindOauth() : mixed
- Binds users oauth settings
- canCompose() : mixed
- Determines if the user has permissions to create posts on the site
- createDefault() : mixed
- Creates a new record for the user
- getAcl() : mixed
- Retrieves author's acl
- getAlias() : mixed
- Retrieves the alias for this author
- getAtom() : mixed
- getAvatar() : mixed
- Retrieves the user's avatar
- getBiography() : mixed
- Retrieves the biography from the specific blogger
- getCommentsCount() : mixed
- Retrieves total number of comments the author made on the site.
- getDBO() : mixed
- Retrieves the database object
- getDescription() : mixed
- Retrieves the description of the blogger
- getEditor() : mixed
- Retrieve the editor to use for this user
- getExternalPermalink() : mixed
- Retrieves the external permalink for this author
- getInstance() : mixed
- Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.
- getName() : mixed
- Retrieves the blogger's name
- getOauth() : mixed
- Determines if the user has oauth setup for specific site
- getOauthClients() : mixed
- Retrieves a list of oauth clients
- getPanelPreferences() : mixed
- Retrieves the preferences of the composer panel of the user
- getParam() : mixed
- Use @getParams instead
- getParams() : mixed
- Generic method to retrive raw json params from the table
- getPermalink() : mixed
- Retrieves the permalink for this author
- getProfileLink() : mixed
- Generates the profile link for an author
- getRSS() : mixed
- Retrieves bloggers rss link
- getRssLink() : mixed
- Retrieves rss link for the blogger
- getTags() : mixed
- Retrieve a list of tags created by this user
- getTitle() : mixed
- Retrieves the translated title
- getTotalPosts() : mixed
- Retrieves the total number of posts created by the author
- getTwitterLink() : mixed
- Retrieves author's twitter link
- getUserType() : mixed
- Retrieves the user type
- getWebsite() : mixed
- Retrieves the website for the author
- hasAssociations() : mixed
- hasOauth() : mixed
- Determines if the user has oauth setup for specific site
- hasTeams() : mixed
- Determines if the author is associated with any teams or not
- isFeatured() : mixed
- Determines if the blogger is featured on the site
- load() : mixed
- Loads the blogger record
- move() : mixed
- Perform move up or down blogger ordering
- removeFeatured() : mixed
- Remove a featured status for author on the 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.
- setFeatured() : mixed
- Sets an author as featured author
- setUser() : mixed
- store() : mixed
- Override the parents implementation of storing a profile
- toArray() : mixed
- Converts a table layer into an array
- updateOrdering() : mixed
- Update the rest of the user ordering
- validateProfile() : mixed
- Performs profile validation
- savePermalink() : mixed
Properties
$avatar
public
mixed
$avatar
= \null
$biography
public
mixed
$biography
= ''
$custom_css
public
mixed
$custom_css
= \null
$description
public
mixed
$description
= \null
$id
public
mixed
$id
= ''
$nickname
public
mixed
$nickname
= ''
$oauthClients
public
static mixed
$oauthClients
= array()
$ordering
public
mixed
$ordering
= \null
$params
public
mixed
$params
= \null
$permalink
public
mixed
$permalink
= ''
$title
public
mixed
$title
= ''
$url
public
mixed
$url
= ''
$user
public
mixed
$user
= \null
$_supportNullValue
protected
mixed
$_supportNullValue
= true
Methods
__construct()
public
__construct(mixed &$db) : mixed
Parameters
- $db : mixed
bind()
Binds an array of data with the current profile object.
public
bind(mixed $data[, mixed $ignore = array() ]) : mixed
Parameters
- $data : mixed
- $ignore : mixed = array()
Tags
bindAdsense()
Binds users oauth settings
public
bindAdsense(mixed $post, mixed $acl) : mixed
Parameters
- $post : mixed
- $acl : mixed
Tags
bindAvatar()
Binds avatar
public
bindAvatar(mixed $file, mixed $acl) : mixed
Parameters
- $file : mixed
- $acl : mixed
Tags
bindFeedburner()
Binds feedburner settings
public
bindFeedburner(mixed $post, mixed $acl) : mixed
Parameters
- $post : mixed
- $acl : mixed
Tags
bindOauth()
Binds users oauth settings
public
bindOauth(mixed $post, mixed $acl) : mixed
Parameters
- $post : mixed
- $acl : mixed
Tags
canCompose()
Determines if the user has permissions to create posts on the site
public
canCompose() : mixed
Tags
createDefault()
Creates a new record for the user
public
createDefault(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getAcl()
Retrieves author's acl
public
getAcl() : mixed
Tags
getAlias()
Retrieves the alias for this author
public
getAlias() : mixed
Tags
getAtom()
public
getAtom() : mixed
getAvatar()
Retrieves the user's avatar
public
getAvatar([mixed $fromOpengraph = false ]) : mixed
Parameters
- $fromOpengraph : mixed = false
Tags
getBiography()
Retrieves the biography from the specific blogger
public
getBiography([mixed $raw = false ][, mixed $placeholder = false ]) : mixed
Parameters
- $raw : mixed = false
- $placeholder : mixed = false
Tags
getCommentsCount()
Retrieves total number of comments the author made on the site.
public
getCommentsCount() : mixed
Tags
getDBO()
Retrieves the database object
public
getDBO() : mixed
Tags
getDescription()
Retrieves the description of the blogger
public
getDescription([mixed $raw = false ]) : mixed
Parameters
- $raw : mixed = false
Tags
getEditor()
Retrieve the editor to use for this user
public
getEditor() : mixed
Tags
getExternalPermalink()
Retrieves the external permalink for this author
public
getExternalPermalink() : 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.
getName()
Retrieves the blogger's name
public
getName() : mixed
Tags
getOauth()
Determines if the user has oauth setup for specific site
public
getOauth(mixed $site) : mixed
Parameters
- $site : mixed
Tags
getOauthClients()
Retrieves a list of oauth clients
public
getOauthClients() : mixed
Tags
getPanelPreferences()
Retrieves the preferences of the composer panel of the user
public
getPanelPreferences() : mixed
Tags
getParam()
Use @getParams instead
public
getParam() : mixed
getParams()
Generic method to retrive raw json params from the table
public
final getParams() : mixed
Tags
getPermalink()
Retrieves the permalink for this author
public
getPermalink([mixed $xhtml = true ]) : mixed
Parameters
- $xhtml : mixed = true
Tags
getProfileLink()
Generates the profile link for an author
public
getProfileLink() : mixed
Tags
getRSS()
Retrieves bloggers rss link
public
getRSS() : mixed
Tags
getRssLink()
Retrieves rss link for the blogger
public
getRssLink() : mixed
Tags
getTags()
Retrieve a list of tags created by this user
public
getTags() : mixed
getTitle()
Retrieves the translated title
public
getTitle() : mixed
Tags
getTotalPosts()
Retrieves the total number of posts created by the author
public
getTotalPosts() : mixed
Tags
getTwitterLink()
Retrieves author's twitter link
public
getTwitterLink() : mixed
Tags
getUserType()
Retrieves the user type
public
getUserType() : mixed
Tags
getWebsite()
Retrieves the website for the author
public
getWebsite() : mixed
Tags
hasAssociations()
public
hasAssociations() : mixed
hasOauth()
Determines if the user has oauth setup for specific site
public
hasOauth(mixed $site) : mixed
Parameters
- $site : mixed
Tags
hasTeams()
Determines if the author is associated with any teams or not
public
hasTeams() : mixed
Tags
isFeatured()
Determines if the blogger is featured on the site
public
isFeatured() : mixed
Tags
load()
Loads the blogger record
public
load([mixed $id = null ][, mixed $reset = true ]) : mixed
Parameters
- $id : mixed = null
- $reset : mixed = true
Tags
move()
Perform move up or down blogger ordering
public
move(mixed $direction[, mixed $where = '' ]) : mixed
Parameters
- $direction : mixed
- $where : mixed = ''
Tags
removeFeatured()
Remove a featured status for author on the site
public
removeFeatured() : 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
setFeatured()
Sets an author as featured author
public
setFeatured() : mixed
Tags
setUser()
public
setUser(mixed $my) : mixed
Parameters
- $my : mixed
store()
Override the parents implementation of storing a profile
public
store([mixed $updateNulls = false ]) : mixed
Parameters
- $updateNulls : mixed = false
Tags
toArray()
Converts a table layer into an array
public
toArray() : mixed
Tags
updateOrdering()
Update the rest of the user ordering
public
updateOrdering() : mixed
Tags
validateProfile()
Performs profile validation
public
validateProfile(mixed $post[, mixed $avatar = null ]) : mixed
Parameters
- $post : mixed
- $avatar : mixed = null
Tags
savePermalink()
private
savePermalink(mixed $permalink) : mixed
Parameters
- $permalink : mixed