XOOPS
2.6.0
|
Go to the source code of this file.
Namespaces | |
kernel | |
Functions | |
checkEmail ($email, $antispam=false) | |
formatTimestamp ($time, $format= 'l', $timeoffset= '') | |
formatURL ($url) | |
redirect_header ($url, $time=3, $message= '', $addredirect=true, $allowExternalLink=false) | |
userTimeToServerTime ($timestamp, $userTZ=null) | |
if(!function_exists('http_response_code')) if(!defined('ENT_SUBSTITUTE')) | xhtmlspecialchars ($string, $dummy_flags=0, $dummy_encoding= '', $dummy_double_encode=true) |
xoops_comment_count ($module_id, $item_id=null) | |
xoops_comment_delete ($module_id, $item_id) | |
xoops_confirm ($hiddens, $action, $msg, $submit= '', $addtoken=true) | |
xoops_convert_encoding (&$text) | |
xoops_error ($msg, $title= '') | |
xoops_footer () | |
xoops_getActiveModules () | |
xoops_getbanner () | |
xoops_getBaseDomain ($url, $debug=0) | |
xoops_getConfigOption ($option, $type= 'XOOPS_CONF') | |
xoops_getcss ($theme= '') | |
xoops_getenv ($key) | |
xoops_getHandler ($name, $optional=false) | |
xoops_getMailer () | |
xoops_getModuleHandler ($name=null, $module_dir=null, $optional=false) | |
xoops_getModuleOption ($option, $dirname= '') | |
xoops_getOption ($option) | |
xoops_getrank ($rank_id=0, $posts=0) | |
xoops_getUrlDomain ($url) | |
xoops_getUserTimestamp ($time, $timeoffset= '') | |
xoops_groupperm_deletebymoditem ($module_id, $perm_name, $item_id=null) | |
xoops_header ($closehead=true) | |
xoops_isActiveModule ($dirname) | |
xoops_load ($name, $type= 'core') | |
xoops_loadLanguage ($name, $domain= '', $language=null) | |
xoops_makepass () | |
xoops_notification_deletebyitem ($module_id, $category, $item_id) | |
xoops_notification_deletebymodule ($module_id) | |
xoops_notification_deletebyuser ($user_id) | |
xoops_result ($msg, $title= '') | |
xoops_setActiveModules () | |
xoops_setConfigOption ($option, $new=null) | |
xoops_substr ($str, $start, $length, $trimmarker= '...') | |
xoops_template_clear_module_cache ($mid) | |
xoops_template_touch ($tpl_id, $clear_old=true) | |
xoops_trim ($text) | |
xoops_utf8_encode (&$text) | |
checkEmail | ( | $email, | |
$antispam = false |
|||
) |
string | ||
bool | $antispam |
Definition at line 232 of file functions.php.
formatTimestamp | ( | $time, | |
$format = 'l' , |
|||
$timeoffset = '' |
|||
) |
int | $time | |
string | $format | |
string | $timeoffset |
Definition at line 195 of file functions.php.
formatURL | ( | $url | ) |
string | $url |
Definition at line 244 of file functions.php.
string | $url | |
int | $time | |
string | $message | |
bool | $addredirect | |
bool | $allowExternalLink |
Definition at line 271 of file functions.php.
Referenced by Xmf\Module\Helper\GenericHelper\redirect().
userTimeToServerTime | ( | $timestamp, | |
$userTZ = null |
|||
) |
int | $timestamp | |
null | $userTZ |
Definition at line 208 of file functions.php.
if (!function_exists('http_response_code')) if (!defined('ENT_SUBSTITUTE')) xhtmlspecialchars | ( | $string, | |
$dummy_flags = 0 , |
|||
$dummy_encoding = '' , |
|||
$dummy_double_encode = true |
|||
) |
xhtmlspecialchars - a customized version of PHP htmlspecialchars to set the flags and encoding parameters to the most approriate values for general use in a UTF-8 environment.
This function forces UTF-8 encoding, the ENT_QUOTES flag, and will also use the ENT_SUBSTITUTE flag if it is available. This gives the optimal features for 5.3 and in >5.4
string | $string | string to be encoded |
integer | $dummy_flags | ignored - for call compatibility only |
mixed | $dummy_encoding | ignored - for call compatibility only |
mixed | $dummy_double_encode | ignored - for call compatibility only |
Definition at line 601 of file functions.php.
xoops_comment_count | ( | $module_id, | |
$item_id = null |
|||
) |
int | $module_id | |
int | null | $item_id |
Definition at line 382 of file functions.php.
xoops_comment_delete | ( | $module_id, | |
$item_id | |||
) |
int | $module_id | |
int | $item_id |
Definition at line 394 of file functions.php.
xoops_confirm | ( | $hiddens, | |
$action, | |||
$msg, | |||
$submit = '' , |
|||
$addtoken = true |
|||
) |
mixed | $hiddens | |
mixed | $action | |
mixed | $msg | |
string | $submit | |
bool | $addtoken |
Definition at line 168 of file functions.php.
xoops_convert_encoding | ( | & | $text | ) |
$text |
Definition at line 431 of file functions.php.
xoops_error | ( | $msg, | |
$title = '' |
|||
) |
mixed | $msg | |
string | $title |
Definition at line 139 of file functions.php.
xoops_footer | ( | ) |
Definition at line 126 of file functions.php.
xoops_getActiveModules | ( | ) |
Definition at line 80 of file functions.php.
xoops_getbanner | ( | ) |
Definition at line 255 of file functions.php.
xoops_getBaseDomain | ( | $url, | |
$debug = 0 |
|||
) |
$url | ||
int | $debug |
Definition at line 507 of file functions.php.
xoops_getConfigOption | ( | $option, | |
$type = 'XOOPS_CONF' |
|||
) |
string | $option | |
string | int | array | $type |
Definition at line 468 of file functions.php.
xoops_getcss | ( | $theme = '' | ) |
string | $theme |
Definition at line 295 of file functions.php.
xoops_getenv | ( | $key | ) |
string | $key |
Definition at line 283 of file functions.php.
xoops_getHandler | ( | $name, | |
$optional = false |
|||
) |
string | $name | |
mixed | $optional |
Definition at line 25 of file functions.php.
References $name, $xoops, and Xoops\getInstance().
Referenced by Xmf\Module\Helper\GenericHelper\_initObject().
xoops_getMailer | ( | ) |
Definition at line 306 of file functions.php.
xoops_getModuleHandler | ( | $name = null , |
|
$module_dir = null , |
|||
$optional = false |
|||
) |
string | null | $name | |
string | null | $module_dir | |
bool | $optional |
Definition at line 40 of file functions.php.
xoops_getModuleOption | ( | $option, | |
$dirname = '' |
|||
) |
string | $option | |
string | $dirname |
Definition at line 494 of file functions.php.
xoops_getOption | ( | $option | ) |
$option |
Definition at line 455 of file functions.php.
xoops_getrank | ( | $rank_id = 0 , |
|
$posts = 0 |
|||
) |
int | $rank_id | |
int | $posts |
Definition at line 319 of file functions.php.
xoops_getUrlDomain | ( | $url | ) |
string | $url |
Definition at line 519 of file functions.php.
xoops_getUserTimestamp | ( | $time, | |
$timeoffset = '' |
|||
) |
mixed$time | ||
string | $timeoffset |
Definition at line 181 of file functions.php.
xoops_groupperm_deletebymoditem | ( | $module_id, | |
$perm_name, | |||
$item_id = null |
|||
) |
int | $module_id | |
string | $perm_name | |
int | null | $item_id |
Definition at line 407 of file functions.php.
xoops_header | ( | $closehead = true | ) |
bool | $closehead |
Definition at line 115 of file functions.php.
xoops_isActiveModule | ( | $dirname | ) |
string | $dirname |
Definition at line 103 of file functions.php.
Referenced by Xmf\Module\Helper\getHelper().
xoops_load | ( | $name, | |
$type = 'core' |
|||
) |
string | $name | Name of class to be loaded |
string | $type | domain of the class, potential values: core - locaded in /class/; framework - located in /Frameworks/; other - module class, located in /modules/[$type]/class/ |
Definition at line 53 of file functions.php.
xoops_loadLanguage | ( | $name, | |
$domain = '' , |
|||
$language = null |
|||
) |
string | $name | Name of language file to be loaded, without extension |
string | $domain | Module dirname; global language file will be loaded if $domain is set to 'global' or not specified |
string | $language | Language to be loaded, current language content will be loaded if not specified |
Definition at line 69 of file functions.php.
xoops_makepass | ( | ) |
Definition at line 219 of file functions.php.
xoops_notification_deletebyitem | ( | $module_id, | |
$category, | |||
$item_id | |||
) |
$module_id | |
$category | |
$item_id |
Definition at line 370 of file functions.php.
xoops_notification_deletebymodule | ( | $module_id | ) |
int | $module_id |
Definition at line 346 of file functions.php.
xoops_notification_deletebyuser | ( | $user_id | ) |
int | $user_id |
Definition at line 357 of file functions.php.
xoops_result | ( | $msg, | |
$title = '' |
|||
) |
mixed | $msg | |
string | $title |
Definition at line 152 of file functions.php.
xoops_setActiveModules | ( | ) |
Definition at line 91 of file functions.php.
xoops_setConfigOption | ( | $option, | |
$new = null |
|||
) |
$option | ||
null | $new |
Definition at line 481 of file functions.php.
xoops_substr | ( | $str, | |
$start, | |||
$length, | |||
$trimmarker = '...' |
|||
) |
string | $str | |
int | $start | |
int | $length | |
string | $trimmarker |
Definition at line 334 of file functions.php.
xoops_template_clear_module_cache | ( | $mid | ) |
Clear the module cache
int | $mid | Module ID |
http_response_code - conditionally defined for PHP <5.4
Taken from stackoverflow answer by "dualed," see: http://stackoverflow.com/questions/3258634/php-how-to-send-http-response-code
int | $newcode | HTTP response code |
Definition at line 546 of file functions.php.
xoops_template_touch | ( | $tpl_id, | |
$clear_old = true |
|||
) |
function to update compiled template file in templates_c folder
string | $tpl_id | |
boolean | $clear_old |
Definition at line 533 of file functions.php.
xoops_trim | ( | $text | ) |
$text |
Definition at line 443 of file functions.php.
xoops_utf8_encode | ( | & | $text | ) |
$text |
Definition at line 419 of file functions.php.