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

Description
  • license: GNU/GPL Mambo is Free Software
  • copyright: (C) 2000 - 2005 Miro International Pty Ltd
  • version: $Id: admin.categories.php,v 1.21 2005/02/16 03:32:44 kochp Exp $
Includes
require_once ($mainframe->getPath('admin_html')) (line 14)

ensure this file is being included by a parent file

Functions
accessMenu (line 748)

changes the access level of a record

void accessMenu (integer $uid, mixed $access, mixed $section)
  • integer $uid: The increment to reorder by
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 684)

Save the item(s) to the menu selected

void copyCategorySave (mixed $cid, mixed $sectionOld)
copyCategorySelect (line 648)

Form for copying item(s) to a specific menu

void copyCategorySelect (mixed $option, mixed $cid, mixed $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 765)
void menuLink (mixed $id)
moveCategorySave (line 614)

Save the item(s) to the menu selected

void moveCategorySave (mixed $cid, mixed $sectionOld)
moveCategorySelect (line 578)

Form for moving item(s) to a specific menu

void moveCategorySelect (mixed $option, mixed $cid, mixed $sectionOld)
orderCategory (line 566)

Moves the order of a record

void orderCategory (integer $uid, mixed $inc)
  • integer $uid: The increment to reorder by
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 836)
void saveOrder (mixed &$cid, mixed $section)
showCategories (line 109)

Compiles a list of categories for a section

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

Documentation generated on Fri, 4 Mar 2005 13:55:34 +1000 by phpDocumentor 1.3.0RC3