* @package com.woltlab.wcf
* @subpackage acp.form
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractBulkProcessingForm extends AbstractForm {
/**
* @package com.woltlab.wcf
* @subpackage action
* @category Community Framework
+ * @since 2.2
*/
class BackgroundQueuePerformAction extends AbstractAction {
/**
* @package com.woltlab.wcf
* @subpackage action
* @category Community Framework
+ * @since 2.2
*/
class ImageProxyAction extends AbstractAction {
/**
* @param string $variableName
* @param boolean $allowEmpty
* @param string $arrayIndex
+ * @since 2.2
*/
protected function readIntegerArray($variableName, $allowEmpty = false, $arrayIndex = '') {
$this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_INTEGER, self::STRUCT_ARRAY);
* @param string $variableName
* @param boolean $allowEmpty
* @param string $arrayIndex
+ * @since 2.2
*/
protected function readStringArray($variableName, $allowEmpty = false, $arrayIndex = '') {
$this->readValue($variableName, $allowEmpty, $arrayIndex, self::TYPE_STRING, self::STRUCT_ARRAY);
* @package com.woltlab.wcf
* @subpackage data
* @category Community Framework
+ * @since 2.2
*/
trait TDatabaseObjectOptions {
/**
* @package com.woltlab.wcf
* @subpackage data
* @category Community Framework
+ * @since 2.2
*/
trait TDatabaseObjectPermissions {
/**
* @package com.woltlab.wcf
* @subpackage data.user
* @category Community Framework
- * @deprecated
+ * @since 2.2
+ * @deprecated since 2.2
*/
trait TLegacyUserPropertyAccess {
/**
* @package com.woltlab.wcf
* @subpackage data.clipboard.item
* @category Community Framework
+ * @since 2.2
*/
class ClipboardItemAction extends AbstractDatabaseObjectAction {
/**
*
* @param array<string> $descriptions
* @param boolean $deleteOldDescriptions
+ * @since 2.2
*/
protected function saveDescriptions(array $descriptions, $deleteOldDescriptions = true) {
// set default value
* Returns the names of all events listened to.
*
* @return array<string>
+ * @since 2.2
*/
public function getEventNames() {
return explode(',', $this->eventName);
return WCF::getPath().'images/stylePreview.png';
}
+ /**
+ * TODO: add documentation
+ * @since 2.2
+ */
public static function splitLessVariables($variables) {
$tmp = explode("/* WCF_STYLE_CUSTOM_USER_MODIFICATIONS */\n", $variables, 2);
];
}
+ /**
+ * TODO: add documentation
+ * @since 2.2
+ */
public static function joinLessVariables($preset, $custom) {
if (empty($custom)) {
return $preset;
);
}
+ /**
+ * TODO: add documentation
+ * @since 2.2
+ */
public function validateMarkAsTainted() {
if (!WCF::getSession()->getPermission('admin.style.canManageStyle')) {
throw new PermissionDeniedException();
$this->styleEditor = $this->getSingleObject();
}
+ /**
+ * TODO: add documentation
+ * @since 2.2
+ */
public function markAsTainted() {
// merge definitions
$variables = $this->styleEditor->getVariables();
/**
* Validates the 'setAsSynonyms' action.
+ *
+ * @since 2.2
*/
public function validateSetAsSynonyms() {
WCF::getSession()->checkPermissions([ 'admin.content.tag.canManageTag' ]);
/**
* Sets a number of tags as a synonyms of another tag.
+ *
+ * @since 2.2
*/
public function setAsSynonyms() {
// the "main" tag may not be a synonym itself
* Unmarks tags.
*
* @param array<integer> $tagIDs
+ * @since 2.2
*/
protected function unmarkItems(array $tagIDs = array()) {
if (empty($tagIDs)) {
* @package com.woltlab.wcf
* @subpackage data.user
* @category Community Framework
+ * @since 2.2
*/
class UserProfileCache extends SingletonFactory {
/**
* Returns true if this is the 'Everyone' group.
*
* @return boolean
+ * @since 2.2
*/
public function isEveryone() {
return $this->groupType == self::EVERYONE;
* @package com.woltlab.wcf
* @subpackage system.background.job
* @category Community Framework
+ * @since 2.2
*/
class BackgroundQueueHandler extends SingletonFactory {
/**
* @package com.woltlab.wcf
* @subpackage system.background.job
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractBackgroundJob {
/**
* @package com.woltlab.wcf
* @subpackage system.background.job
* @category Community Framework
+ * @since 2.2
*/
class EmailDeliveryBackgroundJob extends AbstractBackgroundJob {
/**
*
* @param string $link
* @return string
+ * @since 2.2
*/
protected function getProxyLink($link) {
try {
/**
* Parses user mentions.
+ *
+ * @since 2.2
*/
protected function parseUserMentions() {
static $userRegex = null;
*
* @param string $match
* @return string
+ * @since 2.2
*/
public static function getUsername($match) {
// remove escaped single quotation mark
* @package com.woltlab.wcf
* @subpackage system.bulk.processing
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractBulkProcessableObjectType extends AbstractObjectTypeProcessor implements IBulkProcessableObjectType {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractBulkProcessingAction extends AbstractObjectTypeProcessor implements IBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing
* @category Community Framework
+ * @since 2.2
*/
interface IBulkProcessableObjectType {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing
* @category Community Framework
+ * @since 2.2
*/
interface IBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing
* @category Community Framework
+ * @since 2.2
*/
trait TReasonedBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractUserBulkProcessingAction extends AbstractBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractUserGroupsUserBulkProcessingAction extends AbstractUserBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
class AssignToUserGroupsUserBulkProcessingAction extends AbstractUserGroupsUserBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
class DeleteUserBulkProcessingAction extends AbstractUserBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
class ExportMailAddressUserBulkProcessingAction extends AbstractUserBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
class RemoveFromUserGroupsUserBulkProcessingAction extends AbstractUserGroupsUserBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
class SendMailUserBulkProcessingAction extends AbstractUserBulkProcessingAction {
/**
* @package com.woltlab.wcf
* @subpackage system.bulk.processing.user
* @category Community Framework
+ * @since 2.2
*/
class UserBulkProcessableObjectType extends AbstractBulkProcessableObjectType {
/**
* @package com.woltlab.wcf
* @subpackage system.cache.source
* @category Community Framework
+ * @since 2.2
*/
class RedisCacheSource implements ICacheSource {
/**
* @package com.woltlab.wcf
* @subpackage system.clipboard.action
* @category Community Framework
+ * @since 2.2
*/
class TagClipboardAction extends AbstractClipboardAction {
/**
* Returns the ids of the users which can be enabled.
*
* @return array<integer>
+ * @since 2.2
*/
protected function validateEnable() {
// check permissions
* Returns the ids of the users which can be merge.
*
* @return array<integer>
+ * @since 2.2
*/
protected function validateMerge() {
// check permissions
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractObjectTextPropertyCondition extends AbstractTextCondition implements IObjectCondition, IObjectListCondition {
/**
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractTimestampCondition extends AbstractSingleFieldCondition implements IObjectCondition, IObjectListCondition {
/**
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
interface IObjectCondition extends ICondition {
/**
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
interface IObjectListCondition extends ICondition {
/**
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
trait TObjectListUserCondition {
/**
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
trait TObjectUserCondition {
/**
* @package com.woltlab.wcf
* @subpackage system.condition
* @category Community Framework
+ * @since 2.2
*/
class UserTimestampPropertyCondition extends AbstractTimestampCondition implements IContentCondition, IUserCondition {
use TObjectListUserCondition;
* @package com.woltlab.wcf
* @subpackage system.cronjob
* @category Community Framework
+ * @since 2.2
*/
class BackgroundQueueCleanUpCronjob extends AbstractCronjob {
/**
* @package com.woltlab.wcf
* @subpackage system.database.exception
* @category Community Framework
+ * @since 2.2
*/
class DatabaseException extends \wcf\system\database\DatabaseException {
/**
* @package com.woltlab.wcf
* @subpackage system.database.exception
* @category Community Framework
+ * @since 2.2
*/
-class DatabaseQueryException extends DatabaseException {
-
-}
+class DatabaseQueryException extends DatabaseException { }
* @package com.woltlab.wcf
* @subpackage system.database.exception
* @category Community Framework
+ * @since 2.2
*/
class DatabaseQueryExecutionException extends DatabaseQueryException implements IExtraInformationException {
/**
* @package com.woltlab.wcf
* @subpackage system.database.exception
* @category Community Framework
+ * @since 2.2
*/
-class DatabaseTransactionException extends DatabaseException {
-
-}
+class DatabaseTransactionException extends DatabaseException { }
* @package com.woltlab.wcf
* @subpackage system.email
* @category Community Framework
+ * @since 2.2
*/
class Email {
/**
* @package com.woltlab.wcf
* @subpackage system.email
* @category Community Framework
+ * @since 2.2
*/
final class EmailGrammar {
/**
* @package com.woltlab.wcf
* @subpackage system.email
* @category Community Framework
+ * @since 2.2
*/
class Mailbox {
/**
* @package com.woltlab.wcf
* @subpackage system.email
* @category Community Framework
+ * @since 2.2
*/
class UserMailbox extends Mailbox {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
abstract class AbstractMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
class AttachmentMimePart extends AbstractMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
class HtmlTextMimePart extends RecipientAwareTextMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
interface IRecipientAwareMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
class PlainTextMimePart extends RecipientAwareTextMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
class RecipientAwareTextMimePart extends TextMimePart implements IRecipientAwareMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.mime
* @category Community Framework
+ * @since 2.2
*/
class TextMimePart extends AbstractMimePart {
/**
* @package com.woltlab.wcf
* @subpackage system.email.transport
* @category Community Framework
+ * @since 2.2
*/
class DebugEmailTransport implements EmailTransport {
/**
* @package com.woltlab.wcf
* @subpackage system.email.transport
* @category Community Framework
+ * @since 2.2
*/
interface EmailTransport {
/**
* @package com.woltlab.wcf
* @subpackage system.email.transport
* @category Community Framework
+ * @since 2.2
*/
class PhpEmailTransport implements EmailTransport {
/**
* @package com.woltlab.wcf
* @subpackage system.email.transport
* @category Community Framework
+ * @since 2.2
*/
class SmtpEmailTransport implements EmailTransport {
/**
* @package com.woltlab.wcf
* @subpackage system.email.transport.exception
* @category Community Framework
+ * @since 2.2
*/
-class PermanentFailure extends SystemException {
-
-}
+class PermanentFailure extends SystemException { }
* @package com.woltlab.wcf
* @subpackage system.email.transport.exception
* @category Community Framework
+ * @since 2.2
*/
-class TransientFailure extends SystemException {
-
-}
+class TransientFailure extends SystemException { }
* @package com.woltlab.wcf
* @subpackage system.exception
* @category Community Framework
+ * @since 2.2
*/
class ErrorException extends SystemException {
/**
* @package com.woltlab.wcf
* @subpackage system.exception
* @category Community Framework
+ * @since 2.2
*/
interface IExtraInformationException {
/**
* @package com.woltlab.wcf
* @subpackage system.exception
* @category Community Framework
+ * @since 2.2
*/
class InvalidArgumentException extends SystemException { }
* @package com.woltlab.wcf
* @subpackage system.option.user.group
* @category Community Framework
+ * @since 2.2
*/
interface IUserGroupGroupOptionType {
/**
* @package com.woltlab.wcf
* @subpackage system.option.user.group
* @category Community Framework
+ * @since 2.2
*/
trait TUserGroupOptionType {
/**
* Returns current package name.
*
* @return string package name
+ * @since 2.2
*/
public function getPackageName() {
return $this->queue->packageName;
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'aclOption.xml';
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'acpMenu.xml';
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'acpSearchProvider.xml';
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'acptemplates.tar';
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return null;
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
$classParts = explode('\\', get_called_class());
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'bbcode.xml';
* file name is supported, null is returned.
*
* @return string
+ * @since 2.2
*/
public static function getDefaultFilename();
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'language/*.xml';
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'packageInstallationPlugin.xml';
/**
* @see \wcf\system\package\plugin\IPackageInstallationPlugin::getDefaultFilename()
+ * @since 2.2
*/
public static function getDefaultFilename() {
return 'templates.tar';
* Returns true if session was based upon a valid cookie.
*
* @return boolean
+ * @since 2.2
*/
public function hasValidCookie() {
return false;
/**
* @see \wcf\system\session\ACPSessionFactory::hasValidCookie()
+ * @since 2.2
*/
public function hasValidCookie() {
if (isset($_COOKIE[COOKIE_PREFIX.'cookieHash'])) {
* Sets a boolean value to determine if the client provided a valid session cookie.
*
* @param boolean $hasValidCookie
+ * @since 2.2
*/
public function setHasValidCookie($hasValidCookie) {
$this->hasValidCookie = $hasValidCookie;
* Returns true if client provided a valid session cookie.
*
* @return boolean
+ * @since 2.2
*/
public function hasValidCookie() {
return $this->hasValidCookie;
* @param string $packageName style package name
* @param boolean $skipTainted ignore tainted styles
* @return \wcf\data\style\StyleEditor
+ * @since 2.2
*/
public function getStyleByName($packageName, $skipTainted = false) {
foreach ($this->cache['styles'] as $style) {
* @package com.woltlab.wcf
* @subpackage system.template.plugin
* @category Community Framework
+ * @since 2.2
*/
class JsFunctionTemplatePlugin implements IFunctionTemplatePlugin {
/**
* @package com.woltlab.wcf
* @subpackage util
* @category Community Framework
+ * @since 2.2
*/
final class CryptoUtil {
/**
* @package com.woltlab.wcf
* @subpackage util.exception
* @category Community Framework
+ * @since 2.2
*/
class CryptoException extends \Exception {
/**