XOOPS  2.6.0
functions.php File Reference

Go to the source code of this file.

Namespaces

 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 
)
Parameters
int$value_chmod
string$path_file
string$id
Returns
string

Definition at line 148 of file functions.php.

References $id.

system_AdminIcons (   $img)
Parameters
string$img
Returns
string

Definition at line 117 of file functions.php.

References $url, $xoops, and Xoops\getInstance().

Here is the call graph for this function:

system_adminVersion (   $version,
  $value = '' 
)
Parameters
string$version
string$value
Returns
string

Definition at line 95 of file functions.php.

References $modversion, $path, $xoops, XoopsLoad\fileExists(), and Xoops\getInstance().

Here is the call graph for this function:

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

Get variables passed by GET or POST method

Deprecated:
Parameters
$global
$key
string$default
string$type
Returns
int|mixed|string

Definition at line 32 of file functions.php.

References $type.

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 66 of file functions.php.

References $file, $language, $name, $path, $xoops, XoopsLoad\fileExists(), and Xoops\getInstance().

Here is the call graph for this function:

system_loadTemplate (   $name)
Parameters
string$name
Returns
void

Definition at line 130 of file functions.php.

References $name, $path, $xoops, XoopsLoad\fileExists(), and Xoops\getInstance().

Here is the call graph for this function: