XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
xoopsimagemanager.php
Go to the documentation of this file.
1
<?php
14
if
(!defined(
"XOOPS_ROOT_PATH"
)) { die(
"XOOPS root path not defined"
); }
15
16
// check categories readability by group
17
$groups
= is_object(
$GLOBALS
[
"xoopsUser"
] ) ?
$GLOBALS
[
"xoopsUser"
]->getGroups() : array( XOOPS_GROUP_ANONYMOUS );
18
$imgcat_handler
=&
xoops_gethandler
(
'imagecategory'
);
19
if
( count(
$imgcat_handler
->getList(
$groups
,
'imgcat_read'
, 1)) == 0 ) {
20
return
false
;
21
}
22
return
true
;
23
?>
L:
0xoops
xoops-2.5.6
htdocs
class
xoopseditor
tinymce
include
xoopsimagemanager.php
Generated on Fri May 10 2013 01:04:25 for XOOPS 2.5.6 by
1.8.3.1