Methods

addArchiveObject()

addArchiveObject($extractor) 

Parameters

$extractor

Check uuId for update routine

checkSamePlugin(integer $pluginId) : void
access protected

Parameters

$pluginId

integer

id of installed plugid

Checks xml file to valid

checkValidXml() : boolean

Exceptions

\cException

Returns

boolean

Check file type, Plugin Manager accepts only Zip archives

checkZip() : void
access public

Get method for $tempXml

getTempXml() : \content
access public

Returns

\contentof $tempXml

Get method for $valid

getValid() : true
access public

Returns

trueor fales value of $valid

Install a new plugin

install($tempXml) : void
access protected

Parameters

$tempXml

temporary plugin definitions

Set method for $extractedPath

setExtractedPath($value) : void
access public

Parameters

$value

path to extracted files

Set method for $isExtracted

setIsExtracted($value) : void
access public

Parameters

$value

true or false value

Set method for $tempXml

setTempXml($value) : void
access public

Parameters

$value

xml content

Uninstall a plugin

uninstall($pluginId, $page) : void
access public

Parameters

$pluginId

id of uninstall plugid

$page

page class for success message

Add entries at *_actions

_installAddActions($tempXml) : void
access protected

Parameters

$tempXml

temporary plugin definitions

Add entries at *_area

_installAddArea($tempXml, $pluginId) : void
access protected

Parameters

$tempXml

temporary plugin definitions

$pluginId

plugin identifier

Add entries at *_files and *_frame_files

_installAddFrames($tempXml) : void
access protected

Parameters

$tempXml

temporary plugin definitions

TODO: Implement at XSD-File, add entries at *_nav_main

_installAddNavMain($tempXml, $pluginId) : void
access protected

Parameters

$tempXml

temporary plugin definitions

$pluginId

plugin identifier

Add entries at *_nav_sub

_installAddNavSub($tempXml) : void
access protected

Parameters

$tempXml

temporary plugin definitions

Add specific sql queries

_installAddSpecificSql() : void
access protected

Delete specific sql entries or tables

_uninstallDeleteSpecificSql($foldername) : void
access protected

Parameters

$foldername

foldername of installed plugin

 Properties

 

$_extractor 
 

$extractedPath 
 

$isExtracted 
 

$sqlPrefix 
 

$tempXml 
 

$valid