use wcf\system\exception\UserInputException;
use wcf\system\language\LanguageFactory;
use wcf\system\request\LinkHandler;
-use wcf\system\wcf;
+use wcf\system\WCF;
use wcf\util\ArrayUtil;
use wcf\util\HeaderUtil;
use wcf\util\StringUtil;
* Shows the user search form.
*
* @author Marcel Werk
- * @copyright 2001-2013 WoltLab GmbH
+ * @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage acp.form
<?php
-namespace wcf\system\Package;
+namespace wcf\system\package;
use wcf\data\package\installation\queue\PackageInstallationQueue;
use wcf\system\form\FormDocument;
use wcf\system\WCF;
* Abstract implementation of a package installation plugin using a XML file.
*
* @author Alexander Ebert
- * @copyright 2001-2013 WoltLab GmbH
+ * @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.package.plugin
* @param array $elements
* @param \DOMElement $element
*/
- protected function getElement(\DOMXpath $xpath, array &$elements, \DOMElement $element) {
+ protected function getElement(\DOMXPath $xpath, array &$elements, \DOMElement $element) {
$elements[$element->tagName] = $element->nodeValue;
}
* Installs, updates and deletes cronjobs.
*
* @author Alexander Ebert
- * @copyright 2001-2013 WoltLab GmbH
+ * @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage acp.package.plugin
/**
* @see \wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::getElement()
*/
- protected function getElement(\DOMXpath $xpath, array &$elements, \DOMElement $element) {
+ protected function getElement(\DOMXPath $xpath, array &$elements, \DOMElement $element) {
if ($element->tagName == 'description') {
if (!isset($elements['description'])) {
$elements['description'] = array();
}
// add the directory itself
- $this->fileObjects[$this->directory] = new \SPLFileInfo($this->directory);
+ $this->fileObjects[$this->directory] = new \SplFileInfo($this->directory);
}
/**