Setup

Extends \OxidEsales\Eshop\Core\Base

package

tabslSets

Methods

Check if resource could be deleted, then delete it's a file or call recursive folder deletion if it's a directory.

_clear(string $sFileName, string $sFilePath) 
static

Arguments

$sFileName

string

The filename to delete

$sFilePath

string

The path to delete

Install/uninstall event.

_dbEvent(string $sSqlFile = "",  $sAction = "",  $sDbCheck = "") : boolean
static

Executes SQL queries form a file.

Arguments

$sSqlFile

string

SQL file located in module setup folder (usually install.sql or uninstall.sql).

$sAction

$sDbCheck

Response

boolean

Check if provided path is inside eShop `tmp/` folder or use the `tmp/` folder path.

_getFolderToClear041021(string $sClearFolderPath = '') : string
static

Arguments

$sClearFolderPath

string

The folder to clear

Response

string

Sends email with module information to proudcommerce support (for debug information only)

_getModuleActivation() 
static

Returns module information

_getModuleInformation() : array
static

Response

array

Clean temp folder content.

clearTmp(string $sClearFolderPath = '') : boolean
static

Arguments

$sClearFolderPath

string

Sub-folder path to delete from. Should be a full, valid path inside temp folder.

Response

boolean

Check if database column already exists

dbColumnExist( $sTable,  $sColumn) : string
static

Arguments

$sTable

$sColumn

Response

string

Module activation script.

onActivate() : boolean
static

Response

boolean

Module deactivation script.

onDeactivate() 
static

Properties

sModuleId

sModuleId : 
static

Type(s)