API - XOOPS 2.5.11 Beta 2
By monxoops.fr
Upgrade_259 Class Reference
Inheritance diagram for Upgrade_259:
Collaboration diagram for Upgrade_259:

Public Member Functions

 __construct ()
 
 check_sess_id ()
 
 apply_sess_id ()
 
 check_zaplegacy ()
 
 apply_zaplegacy ()
 
- Public Member Functions inherited from XoopsUpgrade
 __construct ($dirname=null)
 
 isApplied ()
 
 apply ()
 
 loadLanguage ($dirname)
 
 message ()
 

Protected Member Functions

 writeConfigurationFile ($vars, $path, $sourceName, $fileName)
 
- Protected Member Functions inherited from XoopsUpgrade
 getDbValue (XoopsDatabase $db, $table, $field, $condition='')
 

Additional Inherited Members

- Data Fields inherited from XoopsUpgrade
 $usedFiles = array()
 
 $tasks = array()
 
 $languageFolder = null
 
 $logs = array()
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

__construct

Member Function Documentation

◆ apply_sess_id()

apply_sess_id ( )

Expand session id column to varchar(256) to accommodate expanded size possible in PHP 7.1 Force ascii character set to prevent key length issues.

Returns
bool

◆ apply_zaplegacy()

apply_zaplegacy ( )

Rewrite mainfile and secure file with current templates

Returns
bool

◆ check_sess_id()

check_sess_id ( )

In PHP 7.1 Session ID length could be any length between 22 and 256

Returns
bool

◆ check_zaplegacy()

check_zaplegacy ( )

Do we need to rewrite mainfile and secure?

Returns
bool

◆ writeConfigurationFile()

writeConfigurationFile (   $vars,
  $path,
  $sourceName,
  $fileName 
)
protected

Copy a configuration file from template, then rewrite with actual configuration values

Parameters
string[]$varsconfig values
string$pathdirectory path where files reside
string$sourceNametemplate file name
string$fileNameconfiguration file name
Returns
true|string true on success, error message on failure

The documentation for this class was generated from the following file: