XOOPS  2.6.0
xoopsimagemanager.php
Go to the documentation of this file.
1 <?php
2 
15 // check categories readability by group
16 $groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS );
17 $imgcat_handler =& xoops_gethandler('imagecategory');
18 if ( count($imgcat_handler->getList($groups, 'imgcat_read', 1)) == 0 ) {
19  return false;
20 }
21 return true;
22 ?>
$imgcat_handler
$GLOBALS['xoops']
Definition: common.php:33