[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/components/com_typedcontent/ -> admin.typedcontent.php (summary)

(no description)

Author: Mambo Foundation Inc see README.php
Copyright: (C) 2000 - 2009 Mambo Foundation Inc.
License: GNU/GPL Version 2, see LICENSE.php
File Size: 671 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 components/com_content/content.class.php

Defines 13 functions

  view()
  edit()
  save()
  trash()
  changeState()
  changeAccess()
  resethits()
  cancel()
  menuLink()
  go2menu()
  go2menuitem()
  saveOrder()
  toggleFrontPage()

Functions that are not part of a class:

view( $option )   X-Ref
Compiles a list of installed or defined modules

param: database A database connector object

edit( $uid, $option )   X-Ref
Compiles information to add or edit content

param: database A database connector object
param: string The name of the category section
param: integer The unique id of the category to edit (0 if new)

save( $option, $task )   X-Ref
Saves the typed content item


trash( &$cid, $option )   X-Ref
Trashes the typed content item


changeState( $cid=null, $state=0, $option )   X-Ref
Changes the state of one or more content pages

param: string The name of the category section
param: integer A unique category id (passed from an edit form)
param: array An array of unique category id numbers
param: integer 0 if unpublishing, 1 if publishing
param: string The name of the current user

changeAccess( $id, $access, $option )   X-Ref
changes the access level of a record

param: integer The increment to reorder by

resethits( $option, $id )   X-Ref
Function to reset Hit count of a content item


cancel( $option )   X-Ref
Cancels an edit operation

param: database A database connector object

menuLink( $option, $id )   X-Ref
No description

go2menu()   X-Ref
No description

go2menuitem()   X-Ref
No description

saveOrder( &$cid )   X-Ref
No description

toggleFrontPage( $cid, $option )   X-Ref
Changes the state of one or more content pages

param: string The name of the category section
param: integer A unique category id (passed from an edit form)
param: array An array of unique category id numbers
param: integer 0 if unpublishing, 1 if publishing
param: string The name of the current user