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

Go to the source code of this file.

Namespaces

namespace  system
 

Functions

 modify_chmod ($value_chmod, $path_file, $id)
 
 system_AdminIcons ($img)
 
 system_adminVersion ($version, $value= '')
 
 system_CleanVars (&$global, $key, $default= '', $type= 'int')
 
 system_loadLanguage ($name, $domain= '', $language=null)
 
 system_loadTemplate ($name)
 

Function Documentation

modify_chmod (   $value_chmod,
  $path_file,
  $id 
)

Definition at line 110 of file functions.php.

system_AdminIcons (   $img)

Definition at line 90 of file functions.php.

References $GLOBALS, and $url.

Referenced by SystemMaintenance\dump_table_structure(), and SystemMaintenance\dump_write().

Here is the caller graph for this function:

system_adminVersion (   $version,
  $value = '' 
)

Definition at line 73 of file functions.php.

References $modversion, and $path.

system_CleanVars ( $global,
  $key,
  $default = '',
  $type = 'int' 
)

Get variables passed by GET or POST method

Comment by Taiwen Jiang (a.k.a. phppp): THE METHOD IS NOT COMPLETE AND NOT SAFE. YOU ARE ENCOURAGED TO USE PHP'S NATIVE FILTER_VAR OR FILTER_INPUT FUNCTIONS DIRECTLY BEFORE WE MIGRATE TO XOOPS 3.

Definition at line 22 of file functions.php.

References $ret, and $type.

Referenced by form_user().

Here is the caller graph for this function:

system_loadLanguage (   $name,
  $domain = '',
  $language = null 
)

System language loader wrapper

Parameters
string$nameName of language file to be loaded, without extension
string$domainModule dirname; global language file will be loaded if $domain is set to 'global' or not specified
string$languageLanguage to be loaded, current language content will be loaded if not specified
Returns
boolean
Todo:
expand domain to multiple categories, e.g. module:system, framework:filter, etc.

We must check later for an empty value. As xoops_getPageOption could be empty

Definition at line 55 of file functions.php.

References $file, $GLOBALS, $language, $path, and $ret.

system_loadTemplate (   $name)

Definition at line 98 of file functions.php.

References $path, and $xoopsModule.