XOOPS
2.6.0
|
Go to the source code of this file.
Namespaces | |
installer | |
Functions | |
genPathCheckHtml ($path, $valid) | |
getDbCharsets ($link) | |
getDbCollations ($link, $charset) | |
getDbConnection (&$error) | |
getDbConnectionParams () | |
getDirList ($dirname) | |
install_acceptUser ($hash= '') | |
install_finalize ($installer_modified) | |
validateDbCharset ($link, &$charset, &$collation) | |
xoBoolField ($name, $value, $label, $help= '') | |
xoDiag ($status=-1, $str= '') | |
xoDiagBoolSetting ($name, $wanted=false, $severe=false) | |
xoDiagIfWritable ($path) | |
xoFormBlockCollation ($name, $value, $label, $help, $link, $charset) | |
xoFormField ($name, $value, $label, $help= '') | |
xoFormFieldCharset ($name, $value, $label, $help, $link) | |
xoFormFieldCollation ($name, $value, $label, $help, $link, $charset) | |
xoPassField ($name, $value, $label, $help= '') | |
xoPhpVersion () | |
genPathCheckHtml | ( | $path, | |
$valid | |||
) |
string | $path | |
bool | $valid |
Definition at line 240 of file functions.php.
References $msg, $path, ERR_COULD_NOT_ACCESS, ERR_NO_XOOPS_FOUND, XOOPS_FOUND, XOOPS_PATH_FOUND, and XOOPS_VERSION.
getDbCharsets | ( | $link | ) |
resource | $link |
Definition at line 275 of file functions.php.
References $link, and $result.
Referenced by validateDbCharset(), and xoFormFieldCharset().
getDbCollations | ( | $link, | |
$charset | |||
) |
resource | $link | |
string | $charset |
Definition at line 304 of file functions.php.
References $link, and $result.
Referenced by validateDbCharset(), and xoFormFieldCollation().
getDbConnection | ( | & | $error | ) |
getDbConnection - get database connection based on current setting
string | &$error | will be set with any error encountered |
Definition at line 502 of file functions.php.
References $config, $error, ERR_NO_DBCONNECTION, and getDbConnectionParams().
getDbConnectionParams | ( | ) |
getDbConnectionParams - build array of connection parameters from collected DB_* session variables
Definition at line 472 of file functions.php.
References $_SESSION, $driver_info, $driver_params, $settings, and $wizard.
Referenced by getDbConnection().
getDirList | ( | $dirname | ) |
Definition at line 152 of file functions.php.
install_acceptUser | ( | $hash = '' | ) |
string | $hash |
Definition at line 29 of file functions.php.
References $_SESSION, $member_handler, $uname, $user, $xoops, Xoops\getInstance(), XOOPS_DB_NAME, XOOPS_DB_PASS, and XOOPS_DB_PREFIX.
Referenced by XoopsInstallWizard\checkAccess().
install_finalize | ( | $installer_modified | ) |
$installer_modified |
Definition at line 56 of file functions.php.
References $installer_modified.
validateDbCharset | ( | $link, | |
& | $charset, | ||
& | $collation | ||
) |
resource | $link | |
string | $charset | |
string | $collation |
Definition at line 326 of file functions.php.
References $error, $link, ERR_INVALID_DBCHARSET, ERR_INVALID_DBCOLLATION, getDbCharsets(), and getDbCollations().
xoBoolField | ( | $name, | |
$value, | |||
$label, | |||
$help = '' |
|||
) |
xoBoolField - display a boolean checkbox field
string | $name | field name |
string | $value | value |
string | $label | label |
string | $help | help text |
Definition at line 131 of file functions.php.
References $myts, $name, _INSTALL_CHARSET, ENABLE, and MyTextSanitizer\getInstance().
xoDiag | ( | $status = -1 , |
|
$str = '' |
|||
) |
$status | ||
string | $str |
Definition at line 173 of file functions.php.
References $_SESSION, $status, FAILED, SUCCESS, and WARNING.
Referenced by xoDiagBoolSetting(), xoDiagIfWritable(), and xoPhpVersion().
string | $name | |
bool | $wanted | |
bool | $severe |
Definition at line 192 of file functions.php.
References $name, and xoDiag().
xoDiagIfWritable | ( | $path | ) |
string | $path |
Definition at line 207 of file functions.php.
References $error, $path, and xoDiag().
xoFormBlockCollation | ( | $name, | |
$value, | |||
$label, | |||
$help, | |||
$link, | |||
$charset | |||
) |
string | $name | |
string | $value | |
string | $label | |
string | $help | |
resource | $link | |
string | $charset |
Definition at line 412 of file functions.php.
References $link, $name, and xoFormFieldCollation().
xoFormField | ( | $name, | |
$value, | |||
$label, | |||
$help = '' |
|||
) |
xoFormField - display an input field
string | $name | field name |
string | $value | value |
string | $label | label |
string | $help | help text |
Definition at line 76 of file functions.php.
References $myts, $name, _INSTALL_CHARSET, and MyTextSanitizer\getInstance().
xoFormFieldCharset | ( | $name, | |
$value, | |||
$label, | |||
$help, | |||
$link | |||
) |
string | $name | |
string | $value | |
string | $label | |
string | $help | |
resource | $link |
Definition at line 429 of file functions.php.
References $link, $myts, $name, _INSTALL_CHARSET, getDbCharsets(), and MyTextSanitizer\getInstance().
xoFormFieldCollation | ( | $name, | |
$value, | |||
$label, | |||
$help, | |||
$link, | |||
$charset | |||
) |
string | $name | |
string | $value | |
string | $label | |
string | $help | |
resource | $link | |
string | $charset |
Definition at line 364 of file functions.php.
References $link, $myts, $name, $options, _INSTALL_CHARSET, getDbCollations(), and MyTextSanitizer\getInstance().
Referenced by xoFormBlockCollation().
xoPassField | ( | $name, | |
$value, | |||
$label, | |||
$help = '' |
|||
) |
xoPassField - display a password field
string | $name | field name |
string | $value | value |
string | $label | label |
string | $help | help text |
Definition at line 103 of file functions.php.
References $myts, $name, _INSTALL_CHARSET, and MyTextSanitizer\getInstance().
xoPhpVersion | ( | ) |
Definition at line 226 of file functions.php.
References xoDiag().