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

Go to the source code of this file.

Functions

 category_status ($action='open')
 
 delete_category ()
 
 delete_image ()
 
 edit_image ()
 
 images_form ($edit=0)
 
 new_category ($edit=0)
 
 resize_images ()
 
 save_category ($edit=0)
 
 send_error ($message)
 
 show_categories ()
 
 show_images ()
 
 update_image ()
 
 update_thumbnails ()
 

Variables

 $action = rmc_server_var($_REQUEST, 'action', '')
 
const RMCLOCATION 'imgmanager'
 

Function Documentation

category_status (   $action = 'open')

This functions allows to modify the status of categories

Definition at line 380 of file images.php.

References $action, $db, $id, $sql, __(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

delete_category ( )

This function deletes all images in a category and the category

Definition at line 757 of file images.php.

References $cat, $db, $file, $id, $image, $result, $sql, $updir, $xoopsSecurity, __(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

delete_image ( )

Delete an image

Definition at line 704 of file images.php.

References $cat, $category, $file, $id, $image, $page, $updir, __(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

edit_image ( )

Function to edit images

Definition at line 537 of file images.php.

References $cat, $id, $image, $page, $updir, $xoopsSecurity, $xoopsUser, __(), RMFunctions\create_toolbar(), RMTemplate\get(), RMFunctions\load_images_categories(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

new_category (   $edit = 0)

Show form to create categories

Definition at line 257 of file images.php.

References $cat, $id, __(), RMFunctions\create_toolbar(), RMTemplate\get(), and redirectMsg().

Here is the call graph for this function:

resize_images ( )

Definition at line 416 of file images.php.

References $cat, $data, $id, $image, $ret, $tfile, $updir, $xoopsLogger, $xoopsSecurity, $xoopsUser, __(), TextCleaner\decrypt(), RMImageResizer\resizeAndCrop(), rmc_server_var(), RMCURL, and send_error().

Here is the call graph for this function:

save_category (   $edit = 0)

Stores data for new categories

Definition at line 302 of file images.php.

References $cat, $id, $xoopsModule, $xoopsModuleConfig, __(), RMFunctions\get_num_records(), and redirectMsg().

Here is the call graph for this function:

send_error (   $message)

Definition at line 409 of file images.php.

References $data.

Referenced by resize_images().

Here is the caller graph for this function:

show_categories ( )
show_images ( )

Show all images existing in database

Paginacion de Resultados

Definition at line 23 of file images.php.

References $cat, $category, $db, $limit, $nav, $page, $result, $sql, $start, $tpages, $xoopsModule, $xoopsModuleConfig, __(), RMFunctions\create_toolbar(), RMTemplate\get(), RMFunctions\get_num_records(), RMFunctions\load_images_categories(), RMFunctions\plugin_installed(), redirectMsg(), and rmc_server_var().

Here is the call graph for this function:

update_image ( )

Update image data

Definition at line 602 of file images.php.

References $cat, $category, $file, $id, $image, $page, $tfile, $updir, $xoopsSecurity, $xoopsUser, __(), redirectMsg(), RMImageResizer\resizeAndCrop(), and rmc_server_var().

Here is the call graph for this function:

update_thumbnails ( )

Update image thumbnails

Definition at line 817 of file images.php.

References $cat, $xoopsSecurity, $xoopsUser, RMFunctions\create_toolbar(), RMTemplate\get(), TextCleaner\getInstance(), rmc_server_var(), and RMCURL.

Here is the call graph for this function:

Variable Documentation

$action = rmc_server_var($_REQUEST, 'action', '')

Definition at line 853 of file images.php.

const RMCLOCATION 'imgmanager'

This is the images manager file for RMCommon. It is based on EXM system and as a substitute for xoops image manager

Definition at line 18 of file images.php.