/administrator/components/com_weblinks/admin.weblinks.php

Description
  • license: GNU/GPL Mambo is Free Software
  • copyright: (C) 2000 - 2005 Miro International Pty Ltd
  • version: $Id: admin.weblinks.php,v 1.6 2005/02/11 11:10:54 stingrey Exp $
Includes
require_once ($mainframe->getPath('class')) (line 21)
require_once ($mainframe->getPath('admin_html')) (line 20)

ensure this file is being included by a parent file

Functions
cancelWeblink (line 287)

Cancels an edit operation

void cancelWeblink (string $option)
  • string $option: The current url option
editWeblink (line 132)

Compiles information to add or edit

void editWeblink (integer $option, mixed $id)
  • integer $option: The unique id of the record to edit (0 if new)
orderWeblinks (line 274)

Moves the order of a record

void orderWeblinks (integer $uid, mixed $inc, mixed $option)
  • integer $uid: The increment to reorder by
publishWeblinks (line 243)

Publishes or Unpublishes one or more records

void publishWeblinks ([array $cid = null], [integer $publish = 1], string $option)
  • array $cid: An array of unique category id numbers
  • integer $publish: 0 if unpublishing, 1 if publishing
  • string $option: The current url option
removeWeblinks (line 219)

Deletes one or more records

void removeWeblinks (array $cid, string $option)
  • array $cid: An array of unique category id numbers
  • string $option: The current url option
saveWeblink (line 181)

Saves the record on an edit form submit

void saveWeblink (database $option)
  • database $option: A database connector object
showWeblinks (line 78)

Compiles a list of records

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

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