class Install

Class Install

Methods

executeSQL($fileName)

executes some install SQL.

mixed|ClassDefinition
createClass($className, bool $updateClass = false)

creates a mew Class if it doesn't exists.

removeClass($name)

Removes a class definition.

mixed|Definition
createObjectBrick($name, null $jsonPath = null)

Creates a new ObjectBrick.

bool
removeObjectBrick($name)

Removes an ObjectBrick.

mixed|null|Definition
createFieldCollection($name, null $jsonPath = null)

Creates a FieldCollection.

bool
removeFieldcollection($name)

Removes a FieldCollection.

AbstractObject|Folder
createFolders()

Create needed CoreShop Folders.

removeFolders()

Remove CoreShop Folders.

bool
createCustomView($rootFolder, array $classIds)

Creates CustomView for CoreShop if it doesn't exist.

bool
installAdminTranslations($csv)

Install Admin TranslationsFile.

installObjectData($xml, $namespace = '')

installs some data based from an XML File.

installDocuments($xml)

Creates some Documents with Data based from XML file.

installMessagingMails()

Installs the Messaging Mails.

installMessagingContacts()

Install Default Messaging Contacts

installWorkflow()

Install Workflow Data

installMailRules()

No description

removeCustomView()

Removes CoreShop CustomView.

setConfigInstalled()

set isInstalled true in CoreShop Config.

createStaticRoutes($path = null)

Creates CoreShop Static Routes.

removeStaticRoutes($path = null)

Remove CoreShop Static Routes.

createConfig()

Create CoreShop Config.

removeConfig()

Remove CoreShop Config.

createImageThumbnails()

Creates CoreShop Image Thumbnails.

removeImageThumbnails()

Removes CoreShop Image Thumbnails.

Details

at line line 48
executeSQL($fileName)

executes some install SQL.

Parameters

$fileName

at line line 64
mixed|ClassDefinition createClass($className, bool $updateClass = false)

creates a mew Class if it doesn't exists.

Parameters

$className
bool $updateClass should class be updated if it already exists

Return Value

mixed|ClassDefinition

at line line 129
removeClass($name)

Removes a class definition.

Parameters

$name

at line line 145
mixed|Definition createObjectBrick($name, null $jsonPath = null)

Creates a new ObjectBrick.

Parameters

$name
null $jsonPath

Return Value

mixed|Definition

at line line 184
bool removeObjectBrick($name)

Removes an ObjectBrick.

Parameters

$name

Return Value

bool

at line line 207
mixed|null|Definition createFieldCollection($name, null $jsonPath = null)

Creates a FieldCollection.

Parameters

$name
null $jsonPath

Return Value

mixed|null|Definition

at line line 246
bool removeFieldcollection($name)

Removes a FieldCollection.

Parameters

$name

Return Value

bool

at line line 266
AbstractObject|Folder createFolders()

Create needed CoreShop Folders.

Return Value

AbstractObject|Folder

at line line 323
removeFolders()

Remove CoreShop Folders.

at line line 341
bool createCustomView($rootFolder, array $classIds)

Creates CustomView for CoreShop if it doesn't exist.

Parameters

$rootFolder
array $classIds

Return Value

bool

Exceptions

Zend_Config_Exception

at line line 396
bool installAdminTranslations($csv)

Install Admin TranslationsFile.

Parameters

$csv string Path to CSV File

Return Value

bool

at line line 409
installObjectData($xml, $namespace = '')

installs some data based from an XML File.

Parameters

$xml
$namespace

at line line 452
installDocuments($xml)

Creates some Documents with Data based from XML file.

Parameters

$xml

Exceptions

Exception

at line line 567
installMessagingMails()

Installs the Messaging Mails.

at line line 598
installMessagingContacts()

Install Default Messaging Contacts

at line line 607
installWorkflow()

Install Workflow Data

at line line 657
installMailRules()

at line line 766
removeCustomView()

Removes CoreShop CustomView.

Exceptions

Zend_Config_Exception

at line line 789
setConfigInstalled()

set isInstalled true in CoreShop Config.

Exceptions

Zend_Config_Exception

at line line 797
createStaticRoutes($path = null)

Creates CoreShop Static Routes.

Parameters

$path

at line line 831
removeStaticRoutes($path = null)

Remove CoreShop Static Routes.

Parameters

$path

at line line 858
createConfig()

Create CoreShop Config.

at line line 897
removeConfig()

Remove CoreShop Config.

at line line 909
createImageThumbnails()

Creates CoreShop Image Thumbnails.

at line line 930
removeImageThumbnails()

Removes CoreShop Image Thumbnails.