* @copyright 2001-2009 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
- * @category Community Framework
+ * @category Community Framework
*/
// get url
$url = '';
* @copyright 2001-2011 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
- * @category Community Framework
+ * @category Community Framework
*/
// Constant to get relative path to the wcf-root-dir.
// This constant is already set in each package which got an own config.inc.php
* @copyright 2001-2009 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
- * @category Community Framework
+ * @category Community Framework
*/
require_once('./global.php');
wcf\system\request\RequestHandler::getInstance()->handle('wcf', true);
* @copyright 2001-2011 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
- * @category Community Framework
+ * @category Community Framework
*/
// change the priority of the PIP's to "1"
$sql = "UPDATE wcf".WCF_N."_package_installation_plugin
* @copyright 2001-2011 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
- * @category Community Framework
+ * @category Community Framework
*/
// define the wcf-root-dir
define('WCF_DIR', dirname(__FILE__).'/');
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage acp.action
- * @category Community Framework
+ * @category Community Framework
*/
class AJAXUploadAction extends \wcf\action\AJAXUploadAction { }
*/
class CacheClearAction extends AbstractAction {
/**
- * @see wcf\action\AbstractAction::$neededPermissions
+ * @see wcf\action\AbstractAction::$neededPermissions
*/
public $neededPermissions = array('admin.system.canViewLog');
/**
- * @see wcf\action\IAction::execute()
+ * @see wcf\action\IAction::execute()
*/
public function execute() {
parent::execute();
public $templateName = 'packageInstallationStep';
/**
- * @see wcf\action\IAction::readParameters()
+ * @see wcf\action\IAction::readParameters()
*/
public function readParameters() {
parent::readParameters();
*/
class LogoutAction extends AbstractSecureAction {
/**
- * @see wcf\action\IAction::execute()
+ * @see wcf\action\IAction::execute()
*/
public function execute() {
parent::execute();
*/
class OptionExportAction extends AbstractAction {
/**
- * @see wcf\action\AbstractAction::$neededPermissions
+ * @see wcf\action\AbstractAction::$neededPermissions
*/
public $neededPermissions = array('admin.system.canEditOption');
/**
- * @see wcf\action\IAction::execute();
+ * @see wcf\action\IAction::execute();
*/
public function execute() {
parent::execute();
public $templateName = 'packageUninstallationStep';
/**
- * @see wcf\action\IAction::readParameters()
+ * @see wcf\action\IAction::readParameters()
*/
public function readParameters() {
AbstractDialogAction::readParameters();
public $url = '';
/**
- * @see wcf\page\IPage::readParameters()
+ * @see wcf\page\IPage::readParameters()
*/
public function readParameters() {
parent::readParameters();
}
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
public $options = array();
/**
- * @see wcf\form\IForm::readFormParameters()
+ * @see wcf\form\IForm::readFormParameters()
*/
public function readFormParameters() {
parent::readFormParameters();
*/
class UserAssignToGroupForm extends ACPForm {
/**
- * @see wcf\page\AbstractPage::$neededPermissions
+ * @see wcf\page\AbstractPage::$neededPermissions
*/
public $neededPermissions = array('admin.user.canEditUser');
/**
- * @see wcf\acp\form\ACPForm::$activeMenuItem
+ * @see wcf\acp\form\ACPForm::$activeMenuItem
*/
public $activeMenuItem = 'wcf.acp.menu.link.user.management';
}
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
}
/**
- * @see wcf\form\IForm::show()
+ * @see wcf\form\IForm::show()
*/
public function show() {
// set active menu item
*/
abstract class UserOptionListForm extends AbstractOptionListForm {
/**
- * @see wcf\acp\form\AbstractOptionListForm::$cacheName
+ * @see wcf\acp\form\AbstractOptionListForm::$cacheName
*/
public $cacheName = 'user-option';
}
/**
- * @see wcf\form\IForm::validate()
+ * @see wcf\form\IForm::validate()
*/
public function validate() {
AbstractForm::validate();
/**
* options of the active category
- * @var array
+ * @var array
*/
public $activeOptions = array();
}
/**
- * @see wcf\page\IPage::readData()
+ * @see wcf\page\IPage::readData()
*/
public function readData() {
parent::readData();
}
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
}
/**
- * @see wcf\form\IForm::show()
+ * @see wcf\form\IForm::show()
*/
public function show() {
// set active menu item
public $objectListClassName = 'wcf\data\acp\session\access\log\ACPSessionAccessLogList';
/**
- * @see wcf\page\IPage::readParameters()
+ * @see wcf\page\IPage::readParameters()
*/
public function readParameters() {
parent::readParameters();
}
/**
- * @see wcf\page\IPage::show()
+ * @see wcf\page\IPage::show()
*/
public function show() {
// set active menu item.
/**
* health status data
- * @var array
+ * @var array
*/
public $healthDetails = array('error' => array(), 'warning' => array(), 'info' => array());
}
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
}
/**
- * @see wcf\page\IPage::show()
+ * @see wcf\page\IPage::show()
*/
public function show() {
// set active menu item
/**
* This action provides RESTful access to database objects.
- *
- * @author Jeffrey Reichardt
+ *
+ * @author Jeffrey Reichardt
* @copyright 2001-2012 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage action
- * @category Community Framework
+ * @category Community Framework
*/
final class APIAction extends AbstractAjaxAction {
/**
public $neededModules = array('MODULE_API_ACCESS');
/**
- * @see wcf\action\IAction::execute()
+ * @see wcf\action\IAction::execute()
*/
public function execute() {
parent::execute();
if (!isset($routeData['className']) || !isset($routeData['id'])) {
throw new IllegalLinkException();
- }
-
+ }
+
// validate class name
if (!preg_match('~^[a-z0-9_]+$~i', $routeData['className'])) {
throw new AJAXException("Illegal class name '".$routeData['className']."'");
}
else if (!class_exists($classData['className'])) {
throw new AJAXException("unable to find class '".$classData['className']."'");
- }
+ }
//create object
$object = new $classData['className']($routeData['id']);
}
/**
- * @see wcf\action\AbstractAction::executed()
+ * @see wcf\action\AbstractAction::executed()
*/
protected function executed() {
$this->sendJsonResponse($this->data);
*/
protected function prune(IRESTfulResponse $object) {
$prunedArray = array();
-
+
foreach($object->getResponseFields() as $fieldName) {
if ($object->$fieldName) {
$prunedArray[$fieldName] = $object->$fieldName;
/**
* needed permissions to execute this action
- * @var array<string>
+ * @var array<string>
*/
public $neededPermissions = array();
/**
* Provides method to send JSON-encoded responses.
*
- * @author Alexander Ebert
+ * @author Alexander Ebert
* @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @copyright 2001-2011 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
- * @category Community Framework
+ * @category Community Framework
*/
// set exception handler
set_exception_handler(array('wcf\system\WCF', 'handleException'));
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data
- * @category Community Framework
+ * @category Community Framework
*/
interface ICollapsibleContainerAction {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data
- * @category Community Framework
+ * @category Community Framework
*/
interface IDeleteAction {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data
- * @category Community Framework
+ * @category Community Framework
*/
interface ILoadableCollapsibleContainerAction {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data
- * @category Community Framework
+ * @category Community Framework
*/
interface IPositionAction {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data
- * @category Community Framework
+ * @category Community Framework
*/
interface ISearchAction {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data
- * @category Community Framework
+ * @category Community Framework
*/
interface IToggleAction {
/**
*/
class ApplicationAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\application\ApplicationEditor';
}
*/
class CleanupListenerAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\cleanup\listener\CleanupListenerEditor';
}
*/
class ClipboardActionAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\clipboard\action\ClipboardActionEditor';
}
*/
class CoreObjectAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\core\object\CoreObjectEditor';
}
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.event.listener
- * @category Community Framework
+ * @category Community Framework
*/
class EventListenerEditor extends DatabaseObjectEditor {
/**
* @param string $version2
* @param string $operator
* @return boolean result
- * @see http://www.php.net/manual/en/function.version-compare.php
+ * @see http://www.php.net/manual/en/function.version-compare.php
*/
public static function compareVersion($version1, $version2, $operator = null) {
$version1 = self::formatVersionForCompare($version1);
*
* @param string $version
* @return string formatted version
- * @see http://www.php.net/manual/en/function.version-compare.php
+ * @see http://www.php.net/manual/en/function.version-compare.php
*/
private static function formatVersionForCompare($version) {
// remove spaces
protected $packageID = 0;
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\package\installation\queue\PackageInstallationQueueEditor';
*/
class PackageUpdateAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\package\update\PackageUpdateEditor';
}
}
/**
- * @see wcf\data\IEditableCachedObject::resetCache()
+ * @see wcf\data\IEditableCachedObject::resetCache()
*/
public static function resetCache() {
CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.pageMenu-*.php');
*/
class SearchAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\search\SearchEditor';
}
*/
class SessionAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\session\SessionEditor';
}
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style
- * @category Community Framework
+ * @category Community Framework
*/
class StyleEditor extends DatabaseObjectEditor implements IEditableCachedObject {
const INFO_FILE = 'style.xml';
protected static $baseClass = 'wcf\data\style\Style';
/**
- * @see wcf\data\IEditableObject::update()
+ * @see wcf\data\IEditableObject::update()
*/
public function update(array $parameters = array()) {
$variables = null;
}
/**
- * @see wcf\data\IEditableObject::delete()
+ * @see wcf\data\IEditableObject::delete()
*/
public function delete() {
parent::delete();
}
/**
- * @see wcf\data\IEditableObject::create()
+ * @see wcf\data\IEditableObject::create()
*/
public static function create(array $parameters = array()) {
$variables = null;
}
/**
- * @see wcf\data\IEditableCachedObject::resetCache()
+ * @see wcf\data\IEditableCachedObject::resetCache()
*/
public static function resetCache() {
CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.styles.php');
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style.variable
- * @category Community Framework
+ * @category Community Framework
*/
class StyleVariable extends DatabaseObject {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style.variable
- * @category Community Framework
+ * @category Community Framework
*/
class StyleVariableAction extends AbstractDatabaseObjectAction {
/**
- * @see wcf\data\AbstractDatabaseObjectAction::$className
+ * @see wcf\data\AbstractDatabaseObjectAction::$className
*/
protected $className = 'wcf\data\style\variable\StyleVariableEditor';
}
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style.variable
- * @category Community Framework
+ * @category Community Framework
*/
class StyleVariableEditor extends DatabaseObjectEditor {
/**
/**
* Represents a list of style variables.
*
- * @author Alexander Ebert
+ * @author Alexander Ebert
* @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style.variable
- * @category Community Framework
+ * @category Community Framework
*/
class StyleVariableList extends DatabaseObjectList {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.template
- * @category Community Framework
+ * @category Community Framework
*/
class TemplateEditor extends DatabaseObjectEditor {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.template.group
- * @category Community Framework
+ * @category Community Framework
*/
class TemplateGroupEditor extends DatabaseObjectEditor {
/**
}
/**
- * @see wcf\data\IEditableObject::delete()
+ * @see wcf\data\IEditableObject::delete()
*/
public function delete() {
// update children
/**
* date time zone object
- * @var DateTimeZone
+ * @var DateTimeZone
*/
protected $timezoneObj = null;
}
/**
- * @see wcf\data\IEditableCachedObject::resetCache()
+ * @see wcf\data\IEditableCachedObject::resetCache()
*/
public static function resetCache() {
SessionHandler::resetSessions();
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage form
- * @category Community Framework
+ * @category Community Framework
*/
abstract class AbstractForm extends AbstractPage implements IForm {
/**
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage page
- * @category Community Framework
+ * @category Community Framework
*/
abstract class AbstractPage implements IPage, ITrackablePage {
/**
}
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
}
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
*/
class InlineCalendar {
/**
- * @see wcf\page\IPage::assignVariables()
+ * @see wcf\page\IPage::assignVariables()
*/
public static function assignVariables() {
// create calendar data
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.api.rest.response
- * @category Community Framework
+ * @category Community Framework
*/
interface IRESTfulResponse {
/**
protected $optionCategoryStructure = array();
/**
- * @see wcf\system\cache\ICacheBuilder::getData()
+ * @see wcf\system\cache\ICacheBuilder::getData()
*/
public function getData(array $cacheResource) {
list($cache, $packageID) = explode('-', $cacheResource['cache']);
*/
class CoreObjectCacheBuilder implements ICacheBuilder {
/**
- * @see wcf\system\cache\ICacheBuilder::getData()
+ * @see wcf\system\cache\ICacheBuilder::getData()
*/
public function getData(array $cacheResource) {
list($cache, $packageID) = explode('-', $cacheResource['cache']);
*/
class IconCacheBuilder implements ICacheBuilder {
/**
- * @see wcf\system\cache\ICacheBuilder::getData()
+ * @see wcf\system\cache\ICacheBuilder::getData()
*/
public function getData(array $cacheResource) {
list($cache, $packageID, $styleID) = explode('-', $cacheResource['cache']);
*/
class ObjectTypeCacheBuilder implements ICacheBuilder {
/**
- * @see wcf\system\cache\ICacheBuilder::getData()
+ * @see wcf\system\cache\ICacheBuilder::getData()
*/
public function getData(array $cacheResource) {
list($cache, $packageID) = explode('-', $cacheResource['cache']);
*/
class TemplateListenerCacheBuilder implements ICacheBuilder {
/**
- * @see wcf\system\cache\ICacheBuilder::getData()
+ * @see wcf\system\cache\ICacheBuilder::getData()
*/
public function getData(array $cacheResource) {
list($cache, $packageID, $environment) = explode('-', $cacheResource['cache']);
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.cache.builder
- * @category Community Framework
+ * @category Community Framework
*/
class TemplateListenerCodeCacheBuilder implements ICacheBuilder {
/**
class DiskCacheSource implements ICacheSource {
/**
* loaded cache
- * @var array
+ * @var array
*/
protected $cache = null;
/**
* list of loaded resources
- * @var array
+ * @var array
*/
protected $loaded = array();
class MemcacheAdapter extends SingletonFactory {
/**
* memcache object
- * @var Memcache
+ * @var Memcache
*/
private $memcache = null;
class MemcacheCacheSource implements ICacheSource {
/**
* MemcacheAdapter object
- * @var wcf\system\cache\source\MemcacheAdapter
+ * @var wcf\system\cache\source\MemcacheAdapter
*/
protected $adapter = null;
/**
* list of cache resources
- * @var array<string>
+ * @var array<string>
*/
protected $cacheResources = null;
}
/**
- * @see wcf\system\cache\source\ICacheSource::close()
+ * @see wcf\system\cache\source\ICacheSource::close()
*/
public function close() {
// update log
*/
class NoCacheSource implements ICacheSource {
/**
- * @see wcf\system\cache\source\ICacheSource::get()
+ * @see wcf\system\cache\source\ICacheSource::get()
*/
public function get(array $cacheResource) {
if (!isset($this->cache[$cacheResource['cache']])) return null;
}
/**
- * @see wcf\system\cache\source\ICacheSource::set()
+ * @see wcf\system\cache\source\ICacheSource::set()
*/
public function set(array $cacheResource, $value) {
// we have to keep it temporarily
}
/**
- * @see wcf\system\cache\source\ICacheSource::delete()
+ * @see wcf\system\cache\source\ICacheSource::delete()
*/
public function delete(array $cacheResource) {
// reset open cache
}
/**
- * @see wcf\system\cache\source\ICacheSource::clear()
+ * @see wcf\system\cache\source\ICacheSource::clear()
*/
public function clear($directory, $filepattern) {
return;
}
/**
- * @see wcf\system\cache\source\ICacheSource::close()
+ * @see wcf\system\cache\source\ICacheSource::close()
*/
public function close() {
return;
}
/**
- * @see wcf\system\cache\source\ICacheSource::flush()
+ * @see wcf\system\cache\source\ICacheSource::flush()
*/
public function flush() {
return;
*/
abstract class AbstractCronjob implements ICronjob {
/**
- * @see wcf\system\cronjob\ICronjob::execute()
+ * @see wcf\system\cronjob\ICronjob::execute()
*/
public function execute(Cronjob $cronjob) {
EventHandler::getInstance()->fireAction($this, 'execute');
*/
class CleanupListenerCronjob implements ICronjob {
/**
- * @see wcf\system\ICronjob::execute()
+ * @see wcf\system\ICronjob::execute()
*/
public function execute(Cronjob $cronjob) {
CleanupHandler::getInstance()->execute();
*/
class HourlyCleanUpCronjob extends AbstractCronjob {
/**
- * @see wcf\system\cronjob\ICronjob::execute()
+ * @see wcf\system\cronjob\ICronjob::execute()
*/
public function execute(Cronjob $cronjob) {
parent::execute($cronjob);
}
/**
- * @see wcf\system\exception\NamedUserException::show();
+ * @see wcf\system\exception\NamedUserException::show();
*/
public function show() {
@header('HTTP/1.0 404 Not Found');
class UserInputException extends UserException {
/**
* name of error field
- * @var string
+ * @var string
*/
protected $field = null;
protected $cache = array();
/**
- * @see wcf\system\SingletonFactory::init()
+ * @see wcf\system\SingletonFactory::init()
*/
protected function init() {
$this->cache = ObjectTypeCache::getInstance()->getObjectTypes('com.woltlab.wcf.modifiableContent');
abstract class MailSender {
/**
* unique mail server instance
- * @var wcf\system\mail\MailSender
+ * @var wcf\system\mail\MailSender
*/
protected static $instance = null;
public $menuItems = null;
/**
- * @see wcf\system\SingletonFactory::init()
+ * @see wcf\system\SingletonFactory::init()
*/
protected function init() {
// get menu items from cache
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.option
- * @category Community Framework
+ * @category Community Framework
*/
class FileSizeOptionType extends IntegerOptionType {
/**
}
/**
- * @see wcf\system\option\IOptionType::getFormElement()
+ * @see wcf\system\option\IOptionType::getFormElement()
*/
protected function getFormElement($type, Option $option) {
return $this->getTypeObject($type)->getFormElement($option, (isset($this->optionValues[$option->optionName]) ? $this->optionValues[$option->optionName] : null));
* Inspired by routing mechanism used by ASP.NET MVC and released under the terms of
* the Microsoft Public License (MS-PL) http://www.opensource.org/licenses/ms-pl.html
*
- * @author Alexander Ebert
+ * @author Alexander Ebert
* @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.style
- * @category Community Framework
+ * @category Community Framework
*/
class StyleCompiler extends SingletonFactory {
/**
protected $cycles = array();
/**
- * @see wcf\system\template\IFunctionTemplatePlugin::execute()
+ * @see wcf\system\template\IFunctionTemplatePlugin::execute()
*/
public function execute($tagArgs, TemplateEngine $tplObj) {
// get params
* {$timestamp|dateDiff}
* {"123456789"|dateDiff:$timestamp:$fullInverval}
*
- * @author Matthias Schmidt, Marcel Werk
+ * @author Matthias Schmidt, Marcel Werk
* @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.template.plugin
- * @category Community Framework
+ * @category Community Framework
*/
class DateDiffModifierTemplatePlugin implements IModifierTemplatePlugin {
/**
- * @see wcf\system\template\IModifierTemplatePlugin::execute()
+ * @see wcf\system\template\IModifierTemplatePlugin::execute()
*/
public function execute($tagArgs, TemplateEngine $tplObj) {
if (!isset($tagArgs[1])) {
/**
* Executes StringUtil::encodeHTML on the given text if disableEncoding is false.
- * @see wcf\util\StringUtil::encodeHTML()
+ * @see wcf\util\StringUtil::encodeHTML()
*/
protected function encodeHTML($text) {
if (!$this->disableEncoding) {
protected $selected = array();
/**
- * @see wcf\system\template\IFunctionTemplatePlugin::execute()
+ * @see wcf\system\template\IFunctionTemplatePlugin::execute()
*/
public function execute($tagArgs, TemplateEngine $tplObj) {
if (isset($tagArgs['object']) && ($tagArgs['object'] instanceof DatabaseObjectList)) {
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.template.plugin
- * @category Community Framework
+ * @category Community Framework
*/
class IconCompilerTemplatePlugin implements ICompilerTemplatePlugin {
/**
- * @see wcf\system\template\ICompilerTemplatePlugin::executeStart()
+ * @see wcf\system\template\ICompilerTemplatePlugin::executeStart()
*/
public function executeStart($tagArgs, TemplateScriptingCompiler $compiler) {
$compiler->pushTag('icon');
}
/**
- * @see wcf\system\template\ICompilerTemplatePlugin::executeEnd()
+ * @see wcf\system\template\ICompilerTemplatePlugin::executeEnd()
*/
public function executeEnd(TemplateScriptingCompiler $compiler) {
$compiler->popTag('icon');
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.template.plugin
- * @category Community Framework
+ * @category Community Framework
*/
class IconPrefilterTemplatePlugin implements IPrefilterTemplatePlugin {
/**
- * @see wcf\system\template\ITemplatePluginPrefilter::execute()
+ * @see wcf\system\template\ITemplatePluginPrefilter::execute()
*/
public function execute($templateName, $sourceContent, TemplateScriptingCompiler $compiler) {
$ldq = preg_quote($compiler->getLeftDelimiter(), '~');
*/
class StaticlangCompilerTemplatePlugin implements ICompilerTemplatePlugin {
/**
- * @see wcf\system\template\ICompilerTemplatePlugin::executeStart()
+ * @see wcf\system\template\ICompilerTemplatePlugin::executeStart()
*/
public function executeStart($tagArgs, TemplateScriptingCompiler $compiler) {
$compiler->pushTag('staticlang');
}
/**
- * @see wcf\system\template\ICompilerTemplatePlugin::executeEnd()
+ * @see wcf\system\template\ICompilerTemplatePlugin::executeEnd()
*/
public function executeEnd(TemplateScriptingCompiler $compiler) {
$compiler->popTag('staticlang');
/**
* Converts a array of strings to requested character encoding.
- * @see mb_convert_encoding()
+ * @see mb_convert_encoding()
*
* @param string $inCharset
* @param string $outCharset
/**
* Examines the right file extension for an image by the given mime type.
- * @see http://www.php.net/manual/en/function.image-type-to-mime-type.php
+ * @see http://www.php.net/manual/en/function.image-type-to-mime-type.php
*
* @param string $mimeType
* @return string file extension
/**
* Contains Style-related functions.
*
- * @author Marcel Werk
+ * @author Marcel Werk
* @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage util
- * @category Community Framework
+ * @category Community Framework
*/
final class StyleUtil {
/**
/**
* Returns true, if the given e-mail is a valid address.
- * @see http://www.faqs.org/rfcs/rfc821.html
+ * @see http://www.faqs.org/rfcs/rfc821.html
*
* @param string $email
* @return boolean
/**
* Writes XML documents.
*
- * @author Alexander Ebert
+ * @author Alexander Ebert
* @copyright 2001-2012 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage util
- * @category Community Framework
+ * @category Community Framework
*/
class XMLWriter {
/**