Source for file pnadminapi.php
Documentation is available at pnadminapi.php
* Zikula Application Framework
* @copyright (c) 2001, Zikula Development Team
* @link http://www.zikula.org
* @version $Id: pnadminapi.php 24342 2008-06-06 12:03:14Z markwest $
* @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
* @package Zikula_System_Modules
* @subpackage AntiCracker
* delete a AntiCracker item
* @param int $args['hid'] ID of the item
* @return bool true on success, false on failure
if ( !isset ($args['hid']) || !is_numeric($args['hid']) ) {
$item = pnModAPIFunc('SecurityCenter', 'user', 'get', array('hid' => $args['hid']));
// Let any hooks know that we have deleted an item.
pnModCallHooks('item', 'delete', $args['hid'], array('module' => 'SecurityCenter'));
// Let the calling process know that we have finished successfully
* get available admin panel links
* @return array array of admin links
$args['ot'] = 'log_event';
|