Class JApplicationHelper

Description

Application helper functions

  • since: 1.1
  • static:

Located in /application/application.php (line 747)


	
			
Method Summary
 integer getBlogSectionCount ()
 integer getItemid (mixed $id, [mixed $typed = 1], [mixed $link = 1], [mixed $bs = 1], [mixed $bc = 1], [mixed $gbs = 1])
 string getPath (string $varname, [string $user_option = null])
 void _checkPath (mixed $path, [integer $checkAdmin = 1], string $parth)
Methods
getBlogCategoryCount (line 886)

Get the total number of published blog categories

  • since: 1.0
  • access: public
integer getBlogCategoryCount ()
getBlogSectionCount (line 866)

Get the total number of published blog sections

  • since: 1.0
  • access: public
integer getBlogSectionCount ()
getContentItemLinkCount (line 947)

Get the total number of published content items

  • since: 1.0
  • access: public
integer getContentItemLinkCount ()
getGlobalBlogSectionCount (line 906)

Get the total number of published blog sections

  • since: 1.0
  • access: public
integer getGlobalBlogSectionCount ()
getItemid (line 756)

Get the itemid for a content item

  • since: 1.0
  • access: public
integer getItemid (mixed $id, [mixed $typed = 1], [mixed $link = 1], [mixed $bs = 1], [mixed $bc = 1], [mixed $gbs = 1])
getPath (line 969)

Get a path

  • return: The requested path
  • since: 1.0
  • access: public
string getPath (string $varname, [string $user_option = null])
  • string $varname
  • string $user_option
getStaticContentCount (line 927)

Get the total number of published static content items

  • since: 1.0
  • access: public
integer getStaticContentCount ()
_checkPath (line 1079)

Tries to find a file in the administrator or site areas

  • since: 1.1
  • access: private
void _checkPath (mixed $path, [integer $checkAdmin = 1], string $parth)
  • string $parth: A file name
  • integer $checkAdmin:
    1. to check site, 1 to check site and admin only, -1 to check admin only

Documentation generated on Sat, 4 Feb 2006 14:22:39 +0100 by phpDocumentor 1.3.0RC4