XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
xoopsimagemanager.php File Reference

Go to the source code of this file.

Namespaces

namespace  class
 

Functions

 imageBrowser ($inputname="src", $canbrowse=false)
 

Variables

 $admin = false
 
 $canbrowse = ($admin || !empty($catreadlist) || !empty($catwritelist)) ? true : false
 
 $catreadlist =& $imgcat_handler->getList($groups, 'imgcat_read', 1)
 
 $catwritelist =& $imgcat_handler->getList($groups, 'imgcat_write', 1)
 
 $current_path = dirname(__FILE__)
 
 $gperm_handler =& xoops_gethandler('groupperm')
 
 $groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS )
 
 $imgcat_handler =& xoops_gethandler('imagecategory')
 
if(DIRECTORY_SEPARATOR!="/") $xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/"))
 
 if (!defined("XOOPS_ROOT_PATH"))
 

Function Documentation

imageBrowser (   $inputname = "src",
  $canbrowse = false 
)

Definition at line 304 of file xoopsimagemanager.php.

References $canbrowse, and $html.

Variable Documentation

$admin = false

Definition at line 29 of file xoopsimagemanager.php.

$canbrowse = ($admin || !empty($catreadlist) || !empty($catwritelist)) ? true : false

Definition at line 40 of file xoopsimagemanager.php.

Referenced by imageBrowser().

$catreadlist =& $imgcat_handler->getList($groups, 'imgcat_read', 1)

Definition at line 37 of file xoopsimagemanager.php.

$catwritelist =& $imgcat_handler->getList($groups, 'imgcat_write', 1)

Definition at line 38 of file xoopsimagemanager.php.

$current_path = dirname(__FILE__)

Definition at line 17 of file xoopsimagemanager.php.

$gperm_handler =& xoops_gethandler('groupperm')

Definition at line 31 of file xoopsimagemanager.php.

$groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS )

Definition at line 32 of file xoopsimagemanager.php.

$imgcat_handler =& xoops_gethandler('imagecategory')

Definition at line 36 of file xoopsimagemanager.php.

if (DIRECTORY_SEPARATOR!="/") $xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/"))

Definition at line 21 of file xoopsimagemanager.php.

if(!defined("XOOPS_ROOT_PATH"))

Definition at line 23 of file xoopsimagemanager.php.