Zikula_System_Modules
[ class tree: Zikula_System_Modules ] [ index: Zikula_System_Modules ] [ all elements ]

Procedural File: pnadmin.php

Source Location: /system/SecurityCenter/pnadmin.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnadmin.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








securitycenter_admin_delete [line 54]

mixed securitycenter_admin_delete( $args, int $args['hid'], bool $args['confirmation'])

delete item

This is a standard function that is called whenever an administrator wishes to delete a current module item. Note that this function is the equivalent of both of the modify() and update() functions above as it both creates a form and processes its output. This is fine for simpler functions, but for more complex operations such as creation and modification it is generally easier to separate them into separate functions. There is no requirement in the Zikula MDG to do one or the other, so either or both can be used as seen appropriate by the module developer




Tags:

return:  HTML string if no confirmation, true if successful, false otherwise
author:  Mark West


Parameters

int   $args['hid']   the id of the item to be deleted
bool   $args['confirmation']   confirmation that this item can be deleted
   $args  
[ Top ]



securitycenter_admin_display [line 359]

void securitycenter_admin_display( $args)



Parameters

   $args  
[ Top ]



securitycenter_admin_main [line 24]

string securitycenter_admin_main( )

the main administration function

This function is the default function, and is called whenever the module is initiated without defining arguments. As such it can be used for a number of things, but most commonly it either just shows the module menu and returns or calls whatever the module designer feels should be the default function (often this is the view() function)




Tags:

return:  HTML string
author:  Mark West


[ Top ]



securitycenter_admin_modifyconfig [line 182]

string securitycenter_admin_modifyconfig( )

This is a standard function to modify the configuration parameters of the

module




Tags:

return:  HTML string
author:  Mark West


[ Top ]



securitycenter_admin_updateconfig [line 237]

bool securitycenter_admin_updateconfig( int 0, int 1, int 2, int 3, string 4, string 5, int 6, int 7, int 8, int 9, int 10, int 11, int 12, int 13, int 14, int 15, int 16, int 17, string 18, string 19, int 20, int 21, int 22, int 23, int 24, int 25, int 26, int 27)

This is a standard function to update the configuration parameters of the

module given the information passed back by the modification form




Tags:

return:  true if successful, false otherwise
author:  Mark West
see:  securitycenter_admin_modifyconfig()


Parameters

int   0   enableanticracker
int   1   emailhackattempt
int   2   loghackattempttodb
int   3   onlysendsummarybyemail
string   4   summarycontent
string   5   fullcontent
int   6   itemsperpage
int   7   usehtaccessbans
int   8   filtergetvars
int   9   filtercookievars
int   10   filterpostvars
int   11   filterarrays
int   12   extrapostprotection
int   13   extragetprotection
int   14   checkmultipost
int   15   maxmultipost
int   16   cpuloadmonitor
int   17   cpumaxload
string   18   ccisessionpath
string   19   htaccessfilelocation
int   20   nocookiebanthreshold
int   21   nocookiewarningthreshold
int   22   fastaccessbanthreshold
int   23   fastaccesswarnthreshold
int   24   javababble
int   25   javaencrypt
int   26   preservehead
int   27   outputfilter
[ Top ]



securitycenter_admin_view [line 106]

string securitycenter_admin_view( [int $startnum = number of item to start view from])

view items in db



Tags:

return:  HTML string
author:  Mark West


Parameters

int   $startnum   number of item to start view from
[ Top ]



securitycenter_admin_viewobj [line 403]

void securitycenter_admin_viewobj( )



[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:51:04 +0200 by phpDocumentor 1.4.1