![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| __construct () | |
| check_bannerintsize () | |
| apply_bannerintsize () | |
| apply_qmail () | |
| check_captchadata () | |
| apply_captchadata () | |
| check_xoopsconfig () | |
| apply_xoopsconfig () | |
| check_textsanitizer () | |
| apply_textsanitizer () | |
| check_rmindexhtml () | |
| apply_rmindexhtml () | |
| check_modulesvarchar () | |
| apply_modulesvarchar () | |
Public Member Functions inherited from XoopsUpgrade | |
| __construct ($dirname=null) | |
| isApplied () | |
| apply () | |
| loadLanguage ($dirname) | |
| message () | |
Protected Member Functions | |
| fromMediumToInt (Tables $migrate, $bannerTableName, $bannerColumnNames) | |
| buildListTSConfigs () | |
| fromSmallintToVarchar (Tables $migrate, $modulesTableName, $modulesColumnNames) | |
Protected Member Functions inherited from XoopsUpgrade | |
| getDbValue (XoopsDatabase $db, $table, $field, $condition='') | |
Protected Attributes | |
| $textsanitizerConfigFiles | |
Additional Inherited Members | |
Data Fields inherited from XoopsUpgrade | |
| $usedFiles = array() | |
| $tasks = array() | |
| $languageFolder = null | |
| $logs = array() | |
| __construct | ( | ) |
__construct
| apply_bannerintsize | ( | ) |
Increase count columns from mediumint to int (Think BIG!)

| apply_captchadata | ( | ) |
Move captcha configs to xoops_data to segregate writable data
| apply_modulesvarchar | ( | ) |
Increase count columns from smallint to varchar

| apply_qmail | ( | ) |
Add qmail as valid mailmethod
phpMailer has qmail support, similar to but slightly different than sendmail This will allow webmasters to utilize qmail if it is provisioned on server.
| apply_rmindexhtml | ( | ) |
Unlink any index.html files that have been replaced by index.php files
Do unlink() on file Always return true so we process each writable index.html
| string | $name | file name to unlink |
| apply_textsanitizer | ( | ) |
Copy and rename any existing class/textsanitizer/ config files to xoops_data/configs/textsanitizer/

| apply_xoopsconfig | ( | ) |
Create xoops_data/configs/xoopsconfig.php from xoopsconfig.dist.php
|
protected |
Build a list of config files using the existing textsanitizer/config.php This should prevent some issues with customized systems.

| check_bannerintsize | ( | ) |
Increase count columns from mediumint to int

| check_captchadata | ( | ) |
Do we need to move captcha writable data?
| check_modulesvarchar | ( | ) |
Increase count columns from smallint to varchar

| check_rmindexhtml | ( | ) |
Do we need to remove any index.html files that were replaced by index.php files?
If we find an index.html that is writable, we know there is work to do
| string | $name | file name to check |
| check_textsanitizer | ( | ) |
Do we need to move any existing files to xoops_data/configs/textsanitizer/ ?

| check_xoopsconfig | ( | ) |
Do we need to create a xoops_data/configs/xoopsconfig.php?
|
protected |
Determine if columns are declared mediumint, and if so, queue ddl to alter to int.
| $migrate | \Xmf\Database\Tables |
| $bannerTableName | string |
| $bannerColumnNames | string[] array of columns to check |


|
protected |
Determine if columns are declared smallint, and if so, queue ddl to alter to varchar.
| $migrate | \Xmf\Database\Tables |
| $modulesTableName | string |
| $modulesColumnNames | string[] array of columns to check |


|
protected |