XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
blocks.php File Reference

Go to the source code of this file.

Functions

 configure_block ()
 
if(!$xoopsSecurity->
checkReferer(1)) 
insertBlock ()
 
 response ($data, $error=0, $token=0)
 
 save_block_config ()
 
 save_block_order ()
 
 save_block_position ()
 

Variables

 $action = rmc_server_var($_REQUEST, 'action', '')
 
$xoopsLogger activated = false
 

Function Documentation

configure_block ( )

Return the form to configure blocks

Definition at line 142 of file blocks.php.

References $id, $mod, $ret, $xoopsLogger, $xoopsSecurity, __(), RMBlocksFunctions\block_positions(), RMTemplate\get(), response(), and rmc_server_var().

Here is the call graph for this function:

if (!$xoopsSecurity->checkReferer(1)) insertBlock ( )

This function allos to insert a new block in database

Definition at line 40 of file blocks.php.

References $data, $db, $id, $mod, $result, $ret, $sql, $str, $token, $xoopsSecurity, __(), RMBlocksFunctions\block_positions(), RMEvents\get(), RMFunctions\load_module(), response(), and rmc_server_var().

Here is the call graph for this function:

response (   $data,
  $error = 0,
  $token = 0 
)

Definition at line 17 of file blocks.php.

References $data, $token, and $xoopsSecurity.

Referenced by configure_block(), insertBlock(), save_block_config(), save_block_order(), and save_block_position().

Here is the caller graph for this function:

save_block_config ( )

Definition at line 185 of file blocks.php.

References $options, $xoopsSecurity, __(), and response().

Here is the call graph for this function:

save_block_order ( )

Save blocks orders

Definition at line 291 of file blocks.php.

References $db, $i, $id, $sql, $xoopsSecurity, __(), response(), rmc_server_var(), and showMessage().

Here is the call graph for this function:

save_block_position ( )

Definition at line 235 of file blocks.php.

References $db, $id, $sql, $xoopsSecurity, __(), response(), and rmc_server_var().

Here is the call graph for this function:

Variable Documentation

$xoopsLogger activated = false

Definition at line 15 of file blocks.php.