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

Public Member Functions

 __construct ($dirname=null)
 
 isApplied ()
 
 apply ()
 
 loadLanguage ($dirname)
 
 message ()
 

Data Fields

 $usedFiles = array()
 
 $tasks = array()
 
 $languageFolder = null
 
 $logs = array()
 

Protected Member Functions

 getDbValue (XoopsDatabase $db, $table, $field, $condition='')
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $dirname = null)
Parameters
null$dirname
Here is the call graph for this function:

Member Function Documentation

◆ apply()

apply ( )
Returns
bool

Reimplemented in Upgrade_220.

Here is the call graph for this function:

◆ getDbValue()

getDbValue ( XoopsDatabase  $db,
  $table,
  $field,
  $condition = '' 
)
protected

Relocated here from upgrade/index.php

Parameters
XoopsDatabase$db
$table
$field
string$condition
Returns
bool
Here is the caller graph for this function:

◆ isApplied()

isApplied ( )

Run the check_* tasks to see if the patch is needed.

The check_* methods should return:

  • true if the patch has been applied
  • false if the patch needs to be performed
Returns
PatchStatus
Here is the caller graph for this function:

◆ loadLanguage()

loadLanguage (   $dirname)
Parameters
$dirname
Here is the caller graph for this function:

◆ message()

message ( )
Returns
string

Field Documentation

◆ $languageFolder

$languageFolder = null

◆ $logs

$logs = array()

◆ $tasks

$tasks = array()

◆ $usedFiles

$usedFiles = array()

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