| XOOPS RMCommon Utilities
    2.1.8.91RC
    | 
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' | 
| 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().

| 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().

| 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().

| 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().

| images_form | ( | $edit = 0 | ) | 
Definition at line 123 of file images.php.
References $cat, $category, $rmc_config, $uploader, $xoopsModule, $xoopsModuleConfig, $xoopsSecurity, $xoopsUser, __(), RMFunctions\create_toolbar(), RMTemplate\get(), TextCleaner\getInstance(), RMFunctions\load_images_categories(), rmc_server_var(), RMCURL, and showMessage().

| 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().

| 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().

| 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().

| send_error | ( | $message | ) | 
Definition at line 409 of file images.php.
References $data.
Referenced by resize_images().

| show_categories | ( | ) | 
Paginacion de Resultados
Definition at line 198 of file images.php.
References $cat, $db, $limit, $nav, $page, $result, $sql, $start, $tpages, $xoopsConfig, $xoopsModule, $xoopsModuleConfig, $xoopsSecurity, RMFunctions\create_toolbar(), RMTemplate\get(), RMFunctions\get_groups_names(), RMFunctions\get_num_records(), and rmc_server_var().

| 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().

| 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().

| 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.

| $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.