XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Espaces de nommage | |
kernel | |
checkEmail | ( | $email, | |
$antispam = false |
|||
) |
mixed | ||
mixed | $antispam |
formatTimestamp | ( | $time, | |
$format = 'l' , |
|||
$timeoffset = '' |
|||
) |
Function to display formatted times in user timezone
$time | ||
string | $format | |
string | $timeoffset |
formatURL | ( | $url | ) |
mixed | $url |
Function to redirect a user to certain pages
$url | ||
int | $time | |
string | $message | |
bool | $addredirect | |
bool | $allowExternalLink |
userTimeToServerTime | ( | $timestamp, | |
$userTZ = null |
|||
) |
Function to calculate server timestamp from user entered time (timestamp)
$timestamp | ||
null | $userTZ |
xoops_comment_count | ( | $module_id, | |
$item_id = null |
|||
) |
mixed | $module_id | |
mixed | $item_id |
xoops_comment_delete | ( | $module_id, | |
$item_id | |||
) |
mixed | $module_id | |
mixed | $item_id |
xoops_confirm | ( | $hiddens, | |
$action, | |||
$msg, | |||
$submit = '' , |
|||
$addtoken = true |
|||
) |
mixed | $hiddens | |
mixed | $action | |
mixed | $msg | |
string | $submit | |
mixed | $addtoken |
xoops_convert_encoding | ( | & | $text | ) |
mixed | $text |
xoops_error | ( | $msg, | |
$title = '' |
|||
) |
xoops_error
mixed | $msg | |
string | $title |
xoops_footer | ( | ) |
xoops_footer
xoops_getActiveModules | ( | ) |
YOU SHOULD BE CAREFUL WITH USING THIS METHOD SINCE IT WILL BE DEPRECATED xoops_getActiveModules()
Get active modules from cache file
xoops_getbanner | ( | ) |
Function to get banner html tags for use in templates
Check if this impression is the last one
Print the banner
xoops_getBaseDomain | ( | $url | ) |
Determine the base domain name for a URL. The primary use for this is to set the domain used for cookies to represent any subdomains.
The registrable domain is determined using the public suffix list. If the domain is not registrable, an empty string is returned. This empty string can be used in setcookie() as the domain, which restricts cookie to just the current host.
string | $url | URL or hostname to process |
xoops_getConfigOption | ( | $option, | |
$type = 'XOOPS_CONF' |
|||
) |
YOU SHOULD NOT USE THIS METHOD, IT WILL BE REMOVED xoops_getConfigOption()
mixed | $option | |
array | string | $type |
xoops_getcss | ( | $theme = '' | ) |
Function to get css file for a certain themeset
string | $theme |
xoops_getenv | ( | $key | ) |
xoops_getHandler | ( | $name, | |
$optional = false |
|||
) |
mixed | $name | |
mixed | $optional |
xoops_getMailer | ( | ) |
mixed | $name | |
mixed | $module_dir | |
mixed | $optional |
xoops_getModuleOption | ( | $option, | |
$dirname = '' |
|||
) |
YOU SHOULD NOT USE THIS METHOD, IT WILL BE REMOVED xoops_getModuleOption
Method for module developers getting a module config item. This could be from any module requested.
mixed | $option | |
string | $dirname |
xoops_getOption | ( | $option | ) |
YOU SHOULD NOT USE THIS METHOD, IT WILL BE REMOVED xoops_getOption()
mixed | $option |
xoops_getrank | ( | $rank_id = 0 , |
|
$posts = 0 |
|||
) |
integer | $rank_id | |
mixed | $posts |
xoops_getUrlDomain | ( | $url | ) |
YOU SHOULD NOT USE THIS METHOD, IT WILL BE REMOVED Function to get the domain from a URL.
string | $url | the URL to be stripped. |
xoops_getUserTimestamp | ( | $time, | |
$timeoffset = '' |
|||
) |
mixed | $time | |
string | $timeoffset |
xoops_groupperm_deletebymoditem | ( | $module_id, | |
$perm_name, | |||
$item_id = null |
|||
) |
xoops_groupperm_deletebymoditem()
Group Permission Helper Functions
mixed | $module_id | |
mixed | $perm_name | |
mixed | $item_id |
xoops_header | ( | $closehead = true | ) |
xoops_isActiveModule | ( | $dirname | ) |
YOU SHOULD BE CAREFUL WITH USING THIS METHOD SINCE IT WILL BE DEPRECATED xoops_isActiveModule()
Checks is module is installed and active
$dirname |
xoops_load | ( | $name, | |
$type = 'core' |
|||
) |
XOOPS class loader wrapper
Temporay solution for XOOPS 2.3
string | $name | Name of class to be loaded |
string | $type | domain of the class, potential values: core - located in /class/; framework - located in /Frameworks/; other - module class, located in /modules/[$type]/class/ |
xoops_loadLanguage | ( | $name, | |
$domain = '' , |
|||
$language = null |
|||
) |
XOOPS language loader wrapper
Temporay solution, not encouraged to use
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 |
Set pageType
We must check later for an empty value. As xoops_getOption could be empty
xoops_makepass | ( | ) |
xoops_notification_deletebyitem | ( | $module_id, | |
$category, | |||
$item_id | |||
) |
xoops_notification_deletebyitem()
mixed | $module_id | |
mixed | $category | |
mixed | $item_id |
xoops_notification_deletebymodule | ( | $module_id | ) |
$module_id |
xoops_notification_deletebyuser | ( | $user_id | ) |
xoops_notification_deletebyuser()
mixed | $user_id |
xoops_result | ( | $msg, | |
$title = '' |
|||
) |
xoops_result
mixed | $msg | |
string | $title |
xoops_setActiveModules | ( | ) |
YOU SHOULD BE CAREFUL WITH USING THIS METHOD SINCE IT WILL BE DEPRECATED xoops_setActiveModules()
Write active modules to cache file
xoops_setConfigOption | ( | $option, | |
$new = null |
|||
) |
YOU SHOULD NOT USE THIS METHOD, IT WILL BE REMOVED xoops_setConfigOption()
mixed | $option | |
null | $new |
xoops_substr | ( | $str, | |
$start, | |||
$length, | |||
$trimmarker = '...' |
|||
) |
Returns the portion of string specified by the start and length parameters. If $trimmarker is supplied, it is appended to the return string. This function works fine with multi-byte characters if mb_* functions exist on the server.
string | $str | |
int | $start | |
int | $length | |
string | $trimmarker |
xoops_trim | ( | $text | ) |
mixed | $text |
xoops_utf8_encode | ( | & | $text | ) |
mixed | $text |