/administrator/components/com_typedcontent/admin.typedcontent.php

Description
  • license: GNU/GPL Mambo is Free Software
  • copyright: (C) 2000 - 2005 Miro International Pty Ltd
  • version: $Id: admin.typedcontent.php,v 1.15 2005/02/16 07:48:36 kochp Exp $
Includes
require_once ($mainframe->getPath('admin_html')) (line 14)

ensure this file is being included by a parent file

Functions
cancel (line 473)

Cancels an edit operation

void cancel (database $option)
  • 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

void view (database $option)
  • database $option: A database connector object

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