cancel (line 473)
Cancels an edit operation
-
database
$option: A database connector object
changeAccess (line 435)
changes the access level of a record
void
changeAccess
(integer $id, mixed $access, mixed $option)
-
integer
$id: The increment to reorder by
changeState (line 398)
Changes the state of one or more content pages
void
changeState
([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
edit (line 193)
Compiles information to add or edit content
void
edit
(
database $uid,
string $option,
integer 2)
-
integer
2: The unique id of the category to edit (0 if new)
-
database
$uid: A database connector object
-
string
$option: The name of the category section
save (line 283)
Saves the typed content item
void
save
(mixed $option, mixed $task)
trash (line 364)
Trashes the typed content item
void
trash
(mixed &$cid, mixed $option)
view (line 86)
Compiles a list of installed or defined modules
-
database
$option: A database connector object