/administrator/components/com_sections/admin.sections.php

Description
  • license: GNU/GPL Mambo is Free Software
  • copyright: (C) 2000 - 2005 Miro International Pty Ltd
  • version: $Id: admin.sections.php,v 1.11 2005/02/15 14:09:22 kochp Exp $
Includes
require_once ($mainframe->getPath('admin_html')) (line 14)

ensure this file is being included by a parent file

Functions
cancelSection (line 435)

Cancels an edit operation

void cancelSection (database $option, string $scope, integer 2)
  • integer 2: A unique category id
  • database $option: A database connector object
  • string $scope: The name of the category section
copySectionSave (line 495)

Save the item(s) to the menu selected

void copySectionSave (mixed $sectionid)
copySectionSelect (line 462)

Form for copying item(s) to a specific menu

void copySectionSelect (mixed $option, mixed $cid, mixed $section)
editSection (line 179)

Compiles information to add or edit a section

void editSection ([database $uid = 0], [string $scope = ''], integer $option, string 3)
  • string 3: The name of the current user
  • database $uid: A database connector object
  • string $scope: The name of the category section
  • integer $option: The unique id of the category to edit (0 if new)
orderSection (line 448)

Moves the order of a record

void orderSection (integer $uid, mixed $inc, mixed $option, mixed $scope)
  • integer $uid: The increment to reorder by
publishSections (line 382)

Publishes or Unpublishes one or more categories

void publishSections (database $scope, [string $cid = null], [integer $publish = 1], array $option, integer 4, string 5)
  • integer 4: 0 if unpublishing, 1 if publishing
  • string 5: The name of the current user
  • database $scope: A database connector object
  • string $cid: The name of the category section
  • integer $publish: A unique category id (passed from an edit form)
  • array $option: An array of unique category id numbers
removeSections (line 322)

Deletes one or more categories from the categories table

void removeSections (database $cid, string $scope, array $option)
  • database $cid: A database connector object
  • string $scope: The name of the category section
  • array $option: An array of unique category id numbers
saveSection (line 261)

Saves the catefory after an edit form submit

void saveSection (database $option, string $scope, mixed $task)
  • database $option: A database connector object
  • string $scope: The name of the category section
showSections (line 104)

Compiles a list of categories for a section

void showSections (database $scope, string $option, string 2)
  • string 2: The name of the current user
  • database $scope: A database connector object
  • string $option: The name of the category section

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