*/
class ACPMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\acp\menu\item\ACPMenuItemEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'acp_menu_item';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'acpmenuitem';
}
*/
class ACPTemplatesPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'acp_template';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'acptemplates';
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
parent::install();
}
/**
- * @see PackageInstallationPlugin::uninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()
*/
public function uninstall() {
// create ACP-templates list
*/
abstract class AbstractMenuPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
// adjust show order
}
/**
- * @see AbstractXMLPackageInstallationPlugin::validateImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::validateImport()
*/
protected function validateImport(array $data) {
if (empty($data['parentMenuItem'])) {
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
$sql = "SELECT *
*/
abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
AbstractPackageInstallationPlugin::install();
}
/**
- * @see AbstractXMLPackageInstallationPlugin::deleteItems()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::deleteItems()
*/
protected function deleteItems(\DOMXPath $xpath) {
// delete options
}
}
+ /**
+ * Imports option categories.
+ *
+ * @param DOMXPath $xpath
+ */
protected function importCategories(\DOMXPath $xpath) {
$elements = $xpath->query('/ns:data/ns:import/ns:categories/ns:category');
foreach ($elements as $element) {
}
}
+ /**
+ * Imports options.
+ *
+ * @param DOMXPath $xpath
+ */
protected function importOptions(\DOMXPath $xpath) {
$elements = $xpath->query('/ns:data/ns:import/ns:options/ns:option');
foreach ($elements as $element) {
}
/**
- * @see PackageInstallationPlugin::hasUninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::hasUninstall()
*/
public function hasUninstall() {
$hasUninstallOptions = parent::hasUninstall();
protected abstract function saveOption($option, $categoryName, $existingOptionID = 0);
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) { }
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) { }
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) { }
}
abstract class AbstractPackageInstallationPlugin implements PackageInstallationPlugin {
/**
* database table name
- * @var string
+ * @var string
*/
public $tableName = '';
/**
- * active instance of PackageInstallationQueue
- * @var PackageInstallationQueue
+ * active instance of PackageInstallationDispatcher
+ * @var wcf\system\package\PackageInstallationDispatcher
*/
public $installation = null;
/**
* install/update instructions
- * @var array
+ * @var array
*/
public $instruction = array();
/**
* Creates a new AbstractPackageInstallationPlugin object.
*
- * @param PackageInstallationDispatcher $installation
- * @param array $instruction
+ * @param wcf\system\package\PackageInstallationDispatcher $installation
+ * @param array $instruction
*/
public function __construct(PackageInstallationDispatcher $installation, $instruction = array()) {
$this->installation = $installation;
}
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
// call install event
}
/**
- * @see PackageInstallationPlugin::update()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::update()
*/
public function update() {
// call update event
}
/**
- * @see PackageInstallationPlugin::hasUninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::hasUninstall()
*/
public function hasUninstall() {
// call hasUninstall event
}
/**
- * @see PackageInstallationPlugin::uninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()
*/
public function uninstall() {
// call uninstall event
abstract class AbstractXMLPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
/**
* object editor class name
- * @var string
+ * @var string
*/
public $className = '';
public $tagName = '';
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
parent::install();
*/
class CoreObjectPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\core\object\CoreObjectEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'core_object';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'coreobject';
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
return array(
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
$sql = "SELECT *
}
/**
- * @see AbstractXMLPackageInstallationPlugin::cleanup()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::cleanup()
*/
protected function cleanup() {
CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.coreObjects.php');
}
/**
- * @see PackageInstallationPlugin::uninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()
*/
public function uninstall() {
parent::uninstall();
*/
class CronjobsPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\cronjob\CronjobEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'cronjob';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'cronjobs';
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
return array(
}
/**
- * @see AbstractXMLPackageInstallationPlugin::validateImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::validateImport()
*/
protected function validateImport(array $data) {
CronjobUtil::validate($startMinute, $startHour, $startDom, $startMonth, $startDow);
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
return null;
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareCreate()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareCreate()
*/
protected function prepareCreate(array &$data) {
parent::prepareCreate($data);
*/
class EventListenerPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\event\listener\EventListenerEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'event_listener';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'eventlistener';
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
$nice = (isset($data['elements']['nice'])) ? intval($data['elements']['nice']) : 0;
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
$sql = "SELECT *
}
/**
- * @see PackageInstallationPlugin::uninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()
*/
public function uninstall() {
parent::uninstall();
*/
class FilesPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'package_installation_file_log';
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
parent::install();
*/
class GroupOptionsPackageInstallationPlugin extends AbstractOptionPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'user_group_option';
}
/**
- * @see AbstractOptionPackageInstallationPlugin::saveOption()
+ * @see wcf\system\package\plugin\AbstractOptionPackageInstallationPlugin::saveOption()
*/
protected function saveOption($option, $categoryName, $existingOptionID = 0) {
// default values
*/
class LanguagesPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'language_item';
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
AbstractPackageInstallationPlugin::install();
*/
class OptionsPackageInstallationPlugin extends AbstractOptionPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'option';
public static $reservedTags = array('name', 'optiontype', 'defaultvalue', 'validationpattern', 'enableoptions', 'showorder', 'hidden', 'selectoptions', 'categoryname', 'permissions', 'options', 'attrs', 'cdata');
/**
- * @see AbstractOptionPackageInstallationPlugin::saveOption()
+ * @see wcf\system\package\plugin\AbstractOptionPackageInstallationPlugin::saveOption()
*/
protected function saveOption($option, $categoryName, $existingOptionID = 0) {
// default values
*/
class PIPPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\package\installation\plugin\PackageInstallationPluginEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'package_installation_plugin';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'pip';
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
return array(
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
return null;
*/
class PageLocationPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\page\location\PageLocationEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'page_location';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'pagelocation';
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
return array(
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
$sql = "SELECT *
*/\r
class PageMenuPackageInstallationPlugin extends AbstractMenuPackageInstallationPlugin {\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::$className\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className\r
*/\r
public $className = 'wcf\data\page\menu\item\PageMenuItemEditor';\r
\r
/**\r
- * @see AbstractPackageInstallationPlugin::$tableName\r
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName\r
*/ \r
public $tableName = 'page_menu_item';\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::$tagName\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName\r
*/ \r
public $tagName = 'pagemenuitem';\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()\r
*/\r
protected function prepareImport(array $data) {\r
$result = parent::prepareImport($data);\r
*/
class ScriptPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
parent::install();
*/
class SqlPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'package_installation_sql_log';
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
parent::install();
protected $styleVariables = array();\r
\r
/**\r
- * @see AbstractPackageInstallationPlugin::$tableName\r
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName\r
*/ \r
public $tableName = 'style_variable_to_attribute';\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::$tagName\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName\r
*/\r
public $tagName = 'styleattribute';\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()\r
*/\r
protected function handleDelete(array $items) {\r
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."\r
}\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()\r
*/\r
protected function prepareImport(array $data) {\r
return array(\r
}\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()\r
*/\r
protected function findExistingItem(array $data) {\r
return null;\r
}\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::import()\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::import()\r
*/ \r
protected function import(array $row, array $data) {\r
$this->styleVariables[] = $data;\r
* spamming loads of queries for each import, thus delete all\r
* matching variables first and insert them afterwards.\r
* \r
- * @see AbstractXMLPackageInstallationPlugin::postImport()\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::postImport()\r
*/\r
protected function postImport() {\r
if (!count($this->styleVariables)) return;\r
}\r
\r
/**\r
- * @see PackageInstallationPlugin::uninstall()\r
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()\r
*/\r
public function uninstall() {\r
parent::uninstall();\r
*/\r
class StylePackageInstallationPlugin extends AbstractPackageInstallationPlugin {\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::$className\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className\r
*/\r
public $className = 'wcf\data\style\StyleEditor';\r
\r
/**\r
- * @see AbstractPackageInstallationPlugin::$tableName\r
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName\r
*/ \r
public $tableName = 'style';\r
\r
/**\r
- * @see AbstractXMLPackageInstallationPlugin::$tagName\r
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName\r
*/ \r
public $tagName = 'style';\r
\r
/** \r
- * @see PackageInstallationPlugin::install()\r
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()\r
*/\r
public function install() {\r
parent::install();\r
}\r
\r
/** \r
- * @see PackageInstallationPlugin::uninstall()\r
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()\r
*/\r
public function uninstall() {\r
// call uninstall event\r
*/
class TemplateListenerPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
/**
- * @see AbstractXMLPackageInstallationPlugin::$className
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
*/
public $className = 'wcf\data\template\listener\TemplateListenerEditor';
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'template_listener';
/**
- * @see AbstractXMLPackageInstallationPlugin::$tagName
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$tagName
*/
public $tagName = 'templatelistener';
/**
- * @see AbstractXMLPackageInstallationPlugin::handleDelete()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::handleDelete()
*/
protected function handleDelete(array $items) {
$sql = "DELETE FROM wcf".WCF_N."_".$this->tableName."
}
/**
- * @see AbstractXMLPackageInstallationPlugin::prepareImport()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::prepareImport()
*/
protected function prepareImport(array $data) {
return array(
}
/**
- * @see AbstractXMLPackageInstallationPlugin::findExistingItem()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::findExistingItem()
*/
protected function findExistingItem(array $data) {
$sql = "SELECT *
}
/**
- * @see PackageInstallationPlugin::uninstall()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::uninstall()
*/
public function uninstall() {
parent::uninstall();
}
/**
- * @see AbstractXMLPackageInstallationPlugin::cleanup()
+ * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::cleanup()
*/
protected function cleanup() {
// clear cache immediately
*/
class TemplatesPackageInstallationPlugin extends AbstractPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'template';
/**
- * @see PackageInstallationPlugin::install()
+ * @see wcf\system\package\plugin\PackageInstallationPlugin::install()
*/
public function install() {
parent::install();
*/
class UserOptionsPackageInstallationPlugin extends AbstractOptionPackageInstallationPlugin {
/**
- * @see AbstractPackageInstallationPlugin::$tableName
+ * @see wcf\system\package\plugin\AbstractPackageInstallationPlugin::$tableName
*/
public $tableName = 'user_option';
}
/**
- * @see AbstractOptionPackageInstallationPlugin::saveOption()
+ * @see wcf\system\package\plugin\AbstractOptionPackageInstallationPlugin::saveOption()
*/
protected function saveOption($option, $categoryName, $existingOptionID = 0) {
// default values