EBR
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $posts : mixed
- $string : mixed
Methods
- _() : mixed
- Converts the non sef links to SEF links when necessary
- __construct() : mixed
- appendFormatToQueryString() : mixed
- Appends a fragment to the url as it would intelligent detect if it should use & or ? to join the query string
- appendItemIdToQueryString() : mixed
- Fixes a URL if it contains anchor links
- current() : mixed
- Retrieves the current url that are being accessed
- encodeSegments() : mixed
- Encode segments to follow Joomla format.
- getBloggerIdFromMenu() : mixed
- Retrieves the blogger id given the menu id
- getCurrentURI() : mixed
- Method to retrieves current uri that are being accessed
- getCustomPermalink() : mixed
- Retrieves the custom permalink
- getError() : mixed
- getErrors() : mixed
- getItemId() : mixed
- Get menu item based on specific view
- getItemIdByAllCategories() : mixed
- Retrieves the itemid based on the all categories listings
- getItemIdByBlogger() : mixed
- Retrieve menu id by specific blogger
- getItemIdByCategories() : mixed
- Retrieves the itemid based on the category id
- getItemIdByDashboardLayout() : mixed
- Retrieves the itemid associated with a dashboard layout
- getItemIdByEntry() : mixed
- Get menu item based on entry view
- getItemIdByTag() : mixed
- Retrieves itemid associated with a tag id.
- getItemIdByTeamBlog() : mixed
- Retrieve the itemid associated with a team blog.
- getLanguageQuery() : mixed
- Generates the query string for language selection.
- getMenus() : mixed
- Retrieve all menu's from the site associated with EasyBlog
- getReferer() : mixed
- Retrieves the referer url that are being accessed
- getRoutedURL() : mixed
- Retrieves the external url
- getSiteLanguageTag() : mixed
- Get site langauge code
- getSystemViews() : mixed
- Retrieve all views used in EasyBlog frontend.
- hasError() : mixed
- hasErrors() : mixed
- isBloggerMode() : mixed
- Determines if the current URL is on blogger mode
- isCurrentActiveMenu() : mixed
- Determines if the given view is the current active menu item.
- isIDRequired() : mixed
- Determiens we should include ID into permalink or not.
- isJoomSEFEnabled() : mixed
- Determine whether Artio JoomSEF extension have enable on the site.
- isJoomSEFLanguageEnabled() : mixed
- Determine whether JoomSEF extension have enable on the site.
- isMenuABloggerMode() : mixed
- Determines if the menu is a standalone blogger mode
- isMenuGridLayout() : mixed
- Determine if current active menu is a grid layout
- isMobile() : mixed
- Determines if this is a mobile layout
- isSefEnabled() : mixed
- Determiens if SEF is enabled on the site
- isSh404Enabled() : mixed
- Due to the fact that SH404 doesn't rewrite urls from the back end, we need to check if they exist
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- normalizeDomainURL() : mixed
- Method to determine whether the site has enable JoomSEF specific domain name with different language
- normalizePermalink() : mixed
- Generates a permalink given a string
- replaceAccents() : mixed
- Better method to replace accents rather than relying on JFilter
- setError() : mixed
- setPost() : mixed
- Assign a post statically so that we can retrieve it without loading
- siteLink() : mixed
- Method to get frontend sef links
- translate() : mixed
- Provides translations for SEF links
Properties
$app
public
mixed
$app
= \null
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$posts
public
static mixed
$posts
= array()
$string
public
mixed
$string
= \null
Methods
_()
Converts the non sef links to SEF links when necessary
public
static _(mixed $url[, mixed $xhtml = true ][, mixed $ssl = null ][, mixed $search = false ][, mixed $isCanonical = false ][, mixed $jRouted = true ]) : mixed
Parameters
- $url : mixed
- $xhtml : mixed = true
- $ssl : mixed = null
- $search : mixed = false
- $isCanonical : mixed = false
- $jRouted : mixed = true
Tags
__construct()
public
__construct() : mixed
appendFormatToQueryString()
Appends a fragment to the url as it would intelligent detect if it should use & or ? to join the query string
public
static appendFormatToQueryString(mixed $url[, mixed $format = null ]) : mixed
Parameters
- $url : mixed
- $format : mixed = null
Tags
appendItemIdToQueryString()
Fixes a URL if it contains anchor links
public
static appendItemIdToQueryString(mixed $url, mixed $itemId) : mixed
Parameters
- $url : mixed
- $itemId : mixed
Tags
current()
Retrieves the current url that are being accessed
public
static current([mixed $isCallback = false ]) : mixed
Parameters
- $isCallback : mixed = false
Tags
encodeSegments()
Encode segments to follow Joomla format.
public
static encodeSegments(mixed $segments) : mixed
Parameters
- $segments : mixed
Tags
getBloggerIdFromMenu()
Retrieves the blogger id given the menu id
public
static getBloggerIdFromMenu(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getCurrentURI()
Method to retrieves current uri that are being accessed
public
static getCurrentURI() : mixed
Tags
getCustomPermalink()
Retrieves the custom permalink
public
static getCustomPermalink(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getItemId()
Get menu item based on specific view
public
static getItemId([mixed $view = '' ][, mixed $exactMatch = false ]) : mixed
Parameters
- $view : mixed = ''
- $exactMatch : mixed = false
Tags
getItemIdByAllCategories()
Retrieves the itemid based on the all categories listings
public
static getItemIdByAllCategories() : mixed
Tags
getItemIdByBlogger()
Retrieve menu id by specific blogger
public
static getItemIdByBlogger(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getItemIdByCategories()
Retrieves the itemid based on the category id
public
static getItemIdByCategories(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getItemIdByDashboardLayout()
Retrieves the itemid associated with a dashboard layout
public
static getItemIdByDashboardLayout(mixed $layout) : mixed
Parameters
- $layout : mixed
Tags
getItemIdByEntry()
Get menu item based on entry view
public
static getItemIdByEntry(mixed $blogId) : mixed
Parameters
- $blogId : mixed
Tags
getItemIdByTag()
Retrieves itemid associated with a tag id.
public
static getItemIdByTag(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getItemIdByTeamBlog()
Retrieve the itemid associated with a team blog.
public
static getItemIdByTeamBlog(mixed $id) : mixed
Parameters
- $id : mixed
Tags
getLanguageQuery()
Generates the query string for language selection.
public
static getLanguageQuery([mixed $concate = 'AND' ][, mixed $column = 'language' ]) : mixed
Parameters
- $concate : mixed = 'AND'
- $column : mixed = 'language'
Tags
getMenus()
Retrieve all menu's from the site associated with EasyBlog
public
static getMenus(mixed $view[, mixed $layout = null ][, mixed $id = null ][, mixed $lang = null ]) : mixed
Parameters
- $view : mixed
- $layout : mixed = null
- $id : mixed = null
- $lang : mixed = null
Tags
getReferer()
Retrieves the referer url that are being accessed
public
static getReferer([mixed $isCallback = false ]) : mixed
Parameters
- $isCallback : mixed = false
Tags
getRoutedURL()
Retrieves the external url
public
static getRoutedURL(mixed $url[, mixed $xhtml = false ][, mixed $external = false ][, mixed $isCanonical = false ][, mixed $forceRouted = false ]) : mixed
Parameters
- $url : mixed
- $xhtml : mixed = false
- $external : mixed = false
- $isCanonical : mixed = false
- $forceRouted : mixed = false
Tags
getSiteLanguageTag()
Get site langauge code
public
static getSiteLanguageTag(mixed $langSEF) : mixed
Parameters
- $langSEF : mixed
Tags
getSystemViews()
Retrieve all views used in EasyBlog frontend.
public
static getSystemViews([mixed $translate = true ]) : mixed
Parameters
- $translate : mixed = true
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isBloggerMode()
Determines if the current URL is on blogger mode
public
static isBloggerMode() : mixed
Tags
isCurrentActiveMenu()
Determines if the given view is the current active menu item.
public
static isCurrentActiveMenu(mixed $view[, mixed $id = 0 ]) : mixed
Parameters
- $view : mixed
- $id : mixed = 0
Tags
isIDRequired()
Determiens we should include ID into permalink or not.
public
static isIDRequired() : mixed
Tags
isJoomSEFEnabled()
Determine whether Artio JoomSEF extension have enable on the site.
public
static isJoomSEFEnabled() : mixed
Tags
isJoomSEFLanguageEnabled()
Determine whether JoomSEF extension have enable on the site.
public
static isJoomSEFLanguageEnabled() : mixed
Tags
isMenuABloggerMode()
Determines if the menu is a standalone blogger mode
public
static isMenuABloggerMode(mixed $itemId) : mixed
Parameters
- $itemId : mixed
Tags
isMenuGridLayout()
Determine if current active menu is a grid layout
public
static isMenuGridLayout() : mixed
Tags
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isSefEnabled()
Determiens if SEF is enabled on the site
public
static isSefEnabled() : mixed
Tags
isSh404Enabled()
Due to the fact that SH404 doesn't rewrite urls from the back end, we need to check if they exist
public
static isSh404Enabled() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
normalizeDomainURL()
Method to determine whether the site has enable JoomSEF specific domain name with different language
public
static normalizeDomainURL(mixed $nonSefURL, mixed $sefURL) : mixed
Parameters
- $nonSefURL : mixed
- $sefURL : mixed
Tags
normalizePermalink()
Generates a permalink given a string
public
static normalizePermalink(mixed $string) : mixed
Parameters
- $string : mixed
Tags
replaceAccents()
Better method to replace accents rather than relying on JFilter
public
static replaceAccents(mixed $string) : mixed
Parameters
- $string : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
setPost()
Assign a post statically so that we can retrieve it without loading
public
static setPost(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
siteLink()
Method to get frontend sef links
public
static siteLink(mixed $url[, mixed $xhtml = true ][, mixed $ssl = null ]) : mixed
Parameters
- $url : mixed
- $xhtml : mixed = true
- $ssl : mixed = null
Tags
translate()
Provides translations for SEF links
public
static translate(mixed $val) : mixed
Parameters
- $val : mixed