Class we_util_Sys_Webedition

Description

Class to check webEdition settings and installation properties

Located in /util/Sys/Webedition.php (line 37)

we_util_Sys
   |
   --we_util_Sys_Webedition
Method Summary
static int module ([string $property = ""])
static array modulesActive ()
static array modulesAvailable ()
static array modulesInstalled ()
static false tool ([string $property = ""])
static void toolsInstalled ()
static string toolVersion ([string $property = ""])
static void toolVersionCompare ([string $property = ""], [int $reference = ""], [string $operator = ""])
static version version ()
static void versionCompare ([ $version = ""], [string $operator = ""], int $reference)
Methods
static method module (line 85)

checks if a requested module is installed and / or active

  • return: -1 module not installed or an error occured on fetching module installation informations from webEdition
    1. module installed but inactive (only available for integrated modules)
    2. module installed and active
  • access: public
static int module ([string $property = ""])
  • string $property: module name
static method modulesActive (line 151)

builds a list of all activated modules (including free and formerly non-free modules) and returns it to the caller

  • return: a list of all active webEdition modules or (bool)false, if an error occured
  • access: public
static array modulesActive ()
static method modulesAvailable (line 162)

builds a list of all available modules and returns it to the caller

  • return: a list of all available webEdition modules or (bool)false, if an error occured
  • access: public
static array modulesAvailable ()
static method modulesInstalled (line 140)

builds a list of all installed modules (active and inactive) and returns it to the caller

  • return: a list of all installed webEdition modules or (bool)false, if an error occured
  • access: public
static array modulesInstalled ()
static method tool (line 182)

checks if a requested tool is installed

this implementation is preliminary and WILL be changed once the we_tool-implementation is completed

  • return: (not installed) or true (installed)
  • access: public
static false tool ([string $property = ""])
  • string $property: tool name
static method toolsInstalled (line 230)
  • access: public
static void toolsInstalled ()
static method toolVersion (line 201)

get the version of the requested tool (if it is installed)

  • return: version
  • access: public
static string toolVersion ([string $property = ""])
  • string $property: tool name
static method toolVersionCompare (line 216)

compares specified tool version with the currently installed version of this tool

static void toolVersionCompare ([string $property = ""], [int $reference = ""], [string $operator = ""])
  • int $reference: target version to be compared to currently installed tool version
  • string $operator
  • string $property: tool name
static method version (line 44)

tries to identify the version of the currently installed webEdition

  • return: string without dots (i.e. "5501") or false, if the version could not be identified.
  • access: public
static version version ()
static method versionCompare (line 70)

compares specified webEdition version with the currently installed webEdition version

static void versionCompare ([ $version = ""], [string $operator = ""], int $reference)
  • int $reference: target version to be compared to current webEdition version
  • string $operator
  • $version

Inherited Methods

Inherited From we_util_Sys

we_util_Sys::_versionCompare()

Documentation generated on Mon, 01 Sep 2008 11:35:46 +0200 by phpDocumentor 1.4.0