File/administrator/components/com_content/admin.content.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
cancelContent (line 818)

Cancels an edit operation

void cancelContent ()
changeContent (line 702)

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 950)

Form for copying item(s)

void copyItem ( $cid,  $sectionid,  $option)
  • $cid
  • $sectionid
  • $option
copyItemSave (line 988)

saves Copies of items

void copyItemSave ( $cid,  $sectionid,  $option)
  • $cid
  • $sectionid
  • $option
editContent (line 367)

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 1114)
void filterCategory ( $query, [ $active = NULL])
  • $query
  • $active
go2menu (line 1157)
void go2menu ()
go2menuitem (line 1163)
void go2menuitem ()
moveSection (line 850)

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

void moveSection ( $cid,  $sectionid,  $option)
  • $cid
  • $sectionid
  • $option
moveSectionSave (line 886)

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

void moveSectionSave ( &$cid,  $sectionid,  $option)
  • &$cid
  • $sectionid
  • $option
orderContent (line 835)

Moves the order of a record

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

Function to reset Hit count of a content item

PT

void resethits ( $redirect,  $id)
  • $redirect
  • $id
saveContent (line 568)

Saves the content item an edit form submit

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

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 255)

Shows a list of archived content items

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

Compiles a list of installed or defined modules

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

Documentation generated on Mon, 05 May 2008 16:14:13 +0400 by phpDocumentor 1.4.0