File/administrator/components/com_categories/admin.categories.php

Description
Includes
 require_once ($mainframe->getPath('admin_html')) (line 13)

ensure this file is being included by a parent file

 require_once ($mosConfig_absolute_path.'/components/com_content/content.class.php') (line 14)
Functions
accessMenu (line 750)

changes the access level of a record

void accessMenu (integer $uid,  $access,  $section)
  • integer $uid: The increment to reorder by
  • $access
  • $section
cancelCategory (line 551)

Cancels an edit operation

void cancelCategory (string 0, integer 1)
  • string 0: The name of the category section
  • integer 1: A unique category id
copyCategorySave (line 686)

Save the item(s) to the menu selected

void copyCategorySave ( $cid,  $sectionOld)
  • $cid
  • $sectionOld
copyCategorySelect (line 650)

Form for copying item(s) to a specific menu

void copyCategorySelect ( $option,  $cid,  $sectionOld)
  • $option
  • $cid
  • $sectionOld
editCategory (line 238)

Compiles information to add or edit a category

void editCategory ([string $uid = 0], [integer $section = ''], string 2)
  • string 2: The name of the current user
  • string $uid: The name of the category section
  • integer $section: The unique id of the category to edit (0 if new)
menuLink (line 767)
void menuLink ( $id)
  • $id
moveCategorySave (line 616)

Save the item(s) to the menu selected

void moveCategorySave ( $cid,  $sectionOld)
  • $cid
  • $sectionOld
moveCategorySelect (line 580)

Form for moving item(s) to a specific menu

void moveCategorySelect ( $option,  $cid,  $sectionOld)
  • $option
  • $cid
  • $sectionOld
orderCategory (line 568)

Moves the order of a record

void orderCategory (integer $uid,  $inc)
  • integer $uid: The increment to reorder by
  • $inc
publishCategories (line 511)

Publishes or Unpublishes one or more categories

void publishCategories (string $section, [integer $categoryid = null], [array $cid = null], [integer $publish = 1], string 4)
  • string 4: The name of the current user
  • string $section: The name of the category section
  • integer $categoryid: A unique category id (passed from an edit form)
  • array $cid: An array of unique category id numbers
  • integer $publish: 0 if unpublishing, 1 if publishing
removeCategories (line 442)

Deletes one or more categories from the categories table

void removeCategories (string $section, array $cid)
  • string $section: The name of the category section
  • array $cid: An array of unique category id numbers
saveCategory (line 364)

Saves the catefory after an edit form submit

void saveCategory (string $task)
  • string $task: The name of the category section
saveOrder (line 838)
void saveOrder ( &$cid,  $section)
  • &$cid
  • $section
showCategories (line 109)

Compiles a list of categories for a section

void showCategories (string $section,  $option)
  • string $section: The name of the category section
  • $option

Documentation generated on Mon, 05 May 2008 16:12:45 +0400 by phpDocumentor 1.4.0