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