class Plugin extends AbstractPlugin implements PluginInterface

Class Plugin

Methods

__construct( null $jsPaths = null, null $cssPaths = null)

Plugin constructor.

init()

Init Plugin.

static 
installPlugin( InstallPlugin $installPlugin)

Install Plugin.

static 
uninstallPlugin( InstallPlugin $installPlugin)

Uninstall Plugin.

static  mixed
install()

Install Pimcore CoreShop Plugin.

static  string
uninstall()

Uninstall CoreShop.

static  bool
isInstalled()

Check if CoreShop is installed.

static  string
getTranslationFileDirectory()

get translation directory.

static  string
getTranslationFile( string $language)

get translation file.

static  Zend_Translate
getTranslate($lang = null)

get translate.

Details

at line line 42
__construct( null $jsPaths = null, null $cssPaths = null)

Plugin constructor.

Parameters

null $jsPaths
null $cssPaths

at line line 52
init()

Init Plugin.

Exceptions

Zend_EventManager_Exception_InvalidArgumentException

at line line 65
static installPlugin( InstallPlugin $installPlugin)

Install Plugin.

Parameters

InstallPlugin $installPlugin

at line line 76
static uninstallPlugin( InstallPlugin $installPlugin)

Uninstall Plugin.

Parameters

InstallPlugin $installPlugin

at line line 87
static mixed install()

Install Pimcore CoreShop Plugin.

Return Value

mixed

at line line 111
static string uninstall()

Uninstall CoreShop.

Return Value

string $statusMessage

at line line 158
static bool isInstalled()

Check if CoreShop is installed.

Return Value

bool $isInstalled

at line line 174
static string getTranslationFileDirectory()

get translation directory.

Return Value

string

at line line 186
static string getTranslationFile( string $language)

get translation file.

Parameters

string $language

Return Value

string path to the translation file relative to plugin directory

at line line 202
static Zend_Translate getTranslate($lang = null)

get translate.

Parameters

$lang

Return Value

Zend_Translate