/administrator/components/com_content/admin.content.php

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

ensure this file is being included by a parent file

Functions
cancelContent (line 809)

Cancels an edit operation

void cancelContent ()
changeContent (line 693)

Changes the state of one or more content pages

void changeContent ([string $cid = null], [integer $state = 0], array $option, integer 3, string 4)
  • integer 3: 0 if unpublishing, 1 if publishing
  • string 4: The name of the current user
  • string $cid: The name of the category section
  • integer $state: A unique category id (passed from an edit form)
  • array $option: An array of unique category id numbers
copyItem (line 939)

Form for copying item(s)

void copyItem (mixed $cid, mixed $sectionid, mixed $option)
copyItemSave (line 977)

saves Copies of items

void copyItemSave (mixed $cid, mixed $sectionid, mixed $option)
editContent (line 364)

Compiles information to add or edit the record

void editContent ([database $uid = 0], [integer $sectionid = 0], integer $option)
  • database $uid: A database connector object
  • integer $sectionid: The unique id of the record to edit (0 if new)
  • integer $option: The id of the content section
filterCategory (line 1103)
void filterCategory (mixed $query, [mixed $active = NULL])
go2menu (line 1145)
void go2menu ()
go2menuitem (line 1151)
void go2menuitem ()
moveSection (line 839)

Form for moving item(s) to a different section and category

void moveSection (mixed $cid, mixed $sectionid, mixed $option)
moveSectionSave (line 875)

Save the changes to move item(s) to a different section and category

void moveSectionSave (mixed &$cid, mixed $sectionid, mixed $option)
orderContent (line 824)

Moves the order of a record

void orderContent (integer $uid, mixed $inc, mixed $option)
  • integer $uid: The increment to reorder by
removeContent (line 779)
void removeContent (mixed &$cid, mixed $sectionid, mixed $option)
resethits (line 1066)

Function to reset Hit count of a content item

PT

void resethits (mixed $redirect, mixed $id)
saveContent (line 560)

Saves the content item an edit form submit

void saveContent (database $sectionid, mixed $task)
  • database $sectionid: A database connector object
toggleFrontPage (line 745)

Changes the state of one or more content pages

void toggleFrontPage (string $cid, integer $section, array $option, integer 3, string 4)
  • integer 3: 0 if unpublishing, 1 if publishing
  • string 4: The name of the current user
  • string $cid: The name of the category section
  • integer $section: A unique category id (passed from an edit form)
  • array $option: An array of unique category id numbers
viewArchive (line 253)

Shows a list of archived content items

void viewArchive (int $sectionid, mixed $option)
  • int $sectionid: The section id
viewContent (line 132)

Compiles a list of installed or defined modules

void viewContent (database $sectionid, mixed $option)
  • database $sectionid: A database connector object

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