API - XOOPS 2.5.11 Beta 2
By monxoops.fr
module_icon.php File Reference

Variables

if(!class_exists('ProtectorRegistry')) $registry = ProtectorRegistry::getInstance()
 
 $mydirname = $registry->getEntry('mydirname')
 
 $mydirpath = $registry->getEntry('mydirpath')
 
 $language = $registry->getEntry('language')
 
 $icon_cache_limit = 3600
 
 $file_base = 'module_icon'
 
if(!empty($_GET['file'])) $draw_dirname = true
 
 $file = $file_base . '.png'
 
if(file_exists($mydirpath . '/' . $file)) else
 

Variable Documentation

◆ $draw_dirname

if (!empty( $_GET[ 'file'])) $draw_dirname = true

◆ $file

$file = $file_base . '.png'

◆ $file_base

$file_base = 'module_icon'

◆ $icon_cache_limit

$icon_cache_limit = 3600

◆ $language

$language = $registry->getEntry('language')

◆ $mydirname

$mydirname = $registry->getEntry('mydirname')

◆ $mydirpath

$mydirpath = $registry->getEntry('mydirpath')

◆ $registry

if (!class_exists( 'ProtectorRegistry')) $registry = ProtectorRegistry::getInstance()

◆ else

if ( $draw_dirname &&function_exists( 'imagecreatefrompng') &&function_exists( 'imagecolorallocate') &&function_exists( 'imagestring') &&function_exists( 'imagepng')) else
Initial value:
{
$icon_fullpath = __DIR__ . '/images/' . $file
$file
Definition: module_icon.php:31