* @package com.woltlab.wcf
* @subpackage data.acl.option
* @category Community Framework
+ *
+ * @method ACLOption create()
+ * @method ACLOptionEditor[] getObjects()
+ * @method ACLOptionEditor getSingleObject()
*/
class ACLOptionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acl.option.category
* @category Community Framework
+ *
+ * @method ACLOptionCategory create()
+ * @method ACLOptionCategoryEditor[] getObjects()
+ * @method ACLOptionCategoryEditor getSingleObject()
*/
class ACLOptionCategoryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.menu.item
* @category Community Framework
+ *
+ * @method ACPMenuItem create()
+ * @method ACPMenuItemEditor[] getObjects()
+ * @method ACPMenuItemEditor getSingleObject()
*/
class ACPMenuItemAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.search.provider
* @category Community Framework
+ *
+ * @method ACPSearchProvider create()
+ * @method ACPSearchProviderEditor[] getObjects()
+ * @method ACPSearchProviderEditor getSingleObject()
*/
class ACPSearchProviderAction extends AbstractDatabaseObjectAction implements ISearchAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.session
* @category Community Framework
+ *
+ * @method ACPSession create()
+ * @method ACPSessionEditor[] getObjects()
+ * @method ACPSessionEditor getSingleObject()
*/
class ACPSessionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.session.access.log
* @category Community Framework
+ *
+ * @method ACPSessionAccessLog create()
+ * @method ACPSessionAccessLogEditor[] getObjects()
+ * @method ACPSessionAccessLogEditor getSingleObject()
*/
class ACPSessionAccessLogAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.session.log
* @category Community Framework
+ *
+ * @method ACPSessionLog create()
+ * @method ACPSessionLogEditor[] getObjects()
+ * @method ACPSessionLogEditor getSingleObject()
*/
class ACPSessionLogAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.session.virtual
* @category Community Framework
+ *
+ * @method ACPSessionVirtualEditor[] getObjects()
+ * @method ACPSessionVirtualEditor getSingleObject()
*/
class ACPSessionVirtualAction extends AbstractDatabaseObjectAction {
/**
* Attention: This method does not always return a new object, in case a matching virtual session
* already exists, the existing session will be returned rather than a new session being created.
*
- * @see \wcf\data\AbstractDatabaseObjectAction::create()
+ * @return ACPSessionVirtual
*/
public function create() {
// try to find an existing virtual session
* @package com.woltlab.wcf
* @subpackage data.acp.template
* @category Community Framework
+ *
+ * @method ACPTemplate create()
+ * @method ACPTemplateEditor[] getObjects()
+ * @method ACPTemplateEditor getSingleObject()
*/
class ACPTemplateAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.ad
* @category Community Framework
+ *
+ * @method AdEditor[] getObjects()
+ * @method AdEditor getSingleObject()
*/
class AdAction extends AbstractDatabaseObjectAction implements ISortableAction, IToggleAction {
/**
/**
* @inheritDoc
+ * @return Ad
*/
public function create() {
$showOrder = 0;
unset($this->parameters['data']['showOrder']);
}
+ /** @var Ad $ad */
$ad = parent::create();
$adEditor = new AdEditor($ad);
$adEditor->setShowOrder($showOrder);
* @package com.woltlab.wcf
* @subpackage data.application
* @category Community Framework
+ *
+ * @method Application create()
+ * @method ApplicationEditor[] getObjects()
+ * @method ApplicationEditor getSingleObject()
*/
class ApplicationAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.attachment
* @category Community Framework
+ *
+ * @method Attachment create()
+ * @method AttachmentEditor[] getObjects()
+ * @method AttachmentEditor getSingleObject()
*/
class AttachmentAction extends AbstractDatabaseObjectAction implements ISortableAction, IUploadAction {
/**
* @package com.woltlab.wcf
* @subpackage data.bbcode
* @category Community Framework
+ *
+ * @method BBCodeEditor[] getObjects()
+ * @method BBCodeEditor getSingleObject()
*/
class BBCodeAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
/**
* @inheritDoc
+ * @return BBCode
*/
public function create() {
+ /** @var BBCode $bbCode */
$bbCode = parent::create();
// add bbcode to BBCodeSelect user group options
* @package com.woltlab.wcf
* @subpackage data.bbcode.attribute
* @category Community Framework
+ *
+ * @method BBCodeAttribute create()
+ * @method BBCodeAttributeEditor[] getObjects()
+ * @method BBCodeAttributeEditor getSingleObject()
*/
class BBCodeAttributeAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.bbcode.media.provider
* @category Community Framework
+ *
+ * @method BBCodeMediaProvider create()
+ * @method BBCodeMediaProviderEditor[] getObjects()
+ * @method BBCodeMediaProviderEditor getSingleObject()
*/
class BBCodeMediaProviderAction extends AbstractDatabaseObjectAction {
/**
* @subpackage data.box
* @category Community Framework
* @since 2.2
+ *
+ * @method BoxEditor[] getObjects()
+ * @method BoxEditor getSingleObject()
*/
class BoxAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritDoc
+ * @return Box
*/
public function create() {
+ /** @var Box $box */
$box = parent::create();
// save box content
* @package com.woltlab.wcf
* @subpackage data.captcha.question
* @category Community Framework
+ *
+ * @method CaptchaQuestion create()
+ * @method CaptchaQuestionEditor[] getObjects()
+ * @method CaptchaQuestionEditor getSingleObject()
*/
class CaptchaQuestionAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
* @package com.woltlab.wcf
* @subpackage data.category
* @category Community Framework
+ *
+ * @method Category create()
+ * @method CategoryEditor[] getObjects()
+ * @method CategoryEditor getSingleObject()
*/
class CategoryAction extends AbstractDatabaseObjectAction implements ISortableAction, IToggleAction, IToggleContainerAction {
/**
* @package com.woltlab.wcf
* @subpackage data.clipboard.action
* @category Community Framework
+ *
+ * @method ClipboardAction create()
+ * @method ClipboardActionEditor[] getObjects()
+ * @method ClipboardActionEditor getSingleObject()
*/
class ClipboardActionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.comment
* @category Community Framework
+ *
+ * @method Comment create()
+ * @method CommentEditor[] getObjects()
+ * @method CommentEditor getSingleObject()
*/
class CommentAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.comment.response
* @category Community Framework
+ *
+ * @method CommentResponse create()
+ * @method CommentResponseEditor[] getObjects()
+ * @method CommentResponseEditor getSingleObject()
*/
class CommentResponseAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.condition
* @category Community Framework
+ *
+ * @method Condition create()
+ * @method ConditionEditor[] getObjects()
+ * @method ConditionEditor getSingleObject()
*/
class ConditionAction extends AbstractDatabaseObjectAction { }
* @package com.woltlab.wcf
* @subpackage data.core.object
* @category Community Framework
+ *
+ * @method CoreObject create()
+ * @method CoreObjectEditor[] getObjects()
+ * @method CoreObjectEditor getSingleObject()
*/
class CoreObjectAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.cronjob
* @category Community Framework
+ *
+ * @method Cronjob create()
+ * @method CronjobEditor[] getObjects()
+ * @method CronjobEditor getSingleObject()
*/
class CronjobAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
* @package com.woltlab.wcf
* @subpackage data.acp.menu.item
* @category Community Framework
+ *
+ * @method CronjobLog create()
+ * @method CronjobLogEditor[] getObjects()
+ * @method CronjobLogEditor getSingleObject()
*/
class CronjobLogAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.edit.history.entry
* @category Community Framework
+ *
+ * @method EditHistoryEntry create()
+ * @method EditHistoryEntryEditor[] getObjects()
+ * @method EditHistoryEntryEditor getSingleObject()
*/
class EditHistoryEntryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.event.listener
* @category Community Framework
+ *
+ * @method EventListener create()
+ * @method EventListenerEditor[] getObjects()
+ * @method EventListenerEditor getSingleObject()
*/
class EventListenerAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.label
* @category Community Framework
+ *
+ * @method LabelEditor[] getObjects()
+ * @method LabelEditor getSingleObject()
*/
class LabelAction extends AbstractDatabaseObjectAction implements ISortableAction {
/**
/**
* @inheritDoc
+ * @return Label
*/
public function create() {
$showOrder = 0;
unset($this->parameters['data']['showOrder']);
}
+ /** @var Label $label */
$label = parent::create();
(new LabelEditor($label))->setShowOrder($label->groupID, $showOrder);
* @package com.woltlab.wcf
* @subpackage data.label.group
* @category Community Framework
+ *
+ * @method LabelGroup create()
+ * @method LabelGroupEditor[] getObjects()
+ * @method LabelGroupEditor getSingleObject()
*/
class LabelGroupAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.language
* @category Community Framework
+ *
+ * @method Language create()
+ * @method LanguageEditor[] getObjects()
+ * @method LanguageEditor getSingleObject()
*/
class LanguageAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.language.category
* @category Community Framework
+ *
+ * @method LanguageCategory create()
+ * @method LanguageCategoryEditor[] getObjects()
+ * @method LanguageCategoryEditor getSingleObject()
*/
class LanguageCategoryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.language.item
* @category Community Framework
+ *
+ * @method LanguageItem create()
+ * @method LanguageItemEditor[] getObjects()
+ * @method LanguageItemEditor getSingleObject()
*/
class LanguageItemAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.like
* @category Community Framework
+ *
+ * @method Like create()
+ * @method LikeEditor[] getObjects()
+ * @method LikeEditor getSingleObject()
*/
class LikeAction extends AbstractDatabaseObjectAction implements IGroupedUserListAction {
/**
* @subpackage data.media
* @category Community Framework
* @since 2.2
+ *
+ * @method Media create()
+ * @method MediaEditor[] getObjects()
+ * @method MediaEditor getSingleObject()
*/
class MediaAction extends AbstractDatabaseObjectAction implements ISearchAction, IUploadAction {
/**
* @subpackage data.menu
* @category Community Framework
* @since 2.2
+ *
+ * @method MenuEditor[] getObjects()
+ * @method MenuEditor getSingleObject()
*/
class MenuAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritdoc
+ * @return Menu
*/
public function create() {
- // create menu
+ /** @var Menu $menu */
$menu = parent::create();
// create box
* @subpackage data.menu.item
* @category Community Framework
* @since 2.2
+ *
+ * @method MenuItem create()
+ * @method MenuItemEditor[] getObjects()
+ * @method MenuItemEditor getSingleObject()
*/
class MenuItemAction extends AbstractDatabaseObjectAction implements ISortableAction, IToggleAction {
/**
* @package com.woltlab.wcf
* @subpackage data.moderation.queue
* @category Community Framework
+ *
+ * @method ModerationQueueEditor[] getObjects()
+ * @method ModerationQueueEditor getSingleObject()
*/
class ModerationQueueAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritDoc
+ * @return ModerationQueue
*/
public function create() {
if (!isset($this->parameters['data']['lastChangeTime'])) {
* @package com.woltlab.wcf
* @subpackage data.modification.log
* @category Community Framework
+ *
+ * @method ModificationLog create()
+ * @method ModificationLogEditor[] getObjects()
+ * @method ModificationLogEditor getSingleObject()
*/
class ModificationLogAction extends AbstractDatabaseObjectAction { }
* @package com.woltlab.wcf
* @subpackage data.notice
* @category Community Framework
+ *
+ * @method NoticeEditor[] getObjects()
+ * @method NoticeEditor getSingleObject()
*/
class NoticeAction extends AbstractDatabaseObjectAction implements ISortableAction, IToggleAction {
/**
/**
* @inheritDoc
+ * @return Notice
*/
public function create() {
$showOrder = 0;
unset($this->parameters['data']['showOrder']);
}
+ /** @var Notice $notice */
$notice = parent::create();
$noticeEditor = new NoticeEditor($notice);
$noticeEditor->setShowOrder($showOrder);
* @package com.woltlab.wcf
* @subpackage data.object.type
* @category Community Framework
+ *
+ * @method ObjectType create()
+ * @method ObjectTypeEditor[] getObjects()
+ * @method ObjectTypeEditor getSingleObject()
*/
class ObjectTypeAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.object.type.definition
* @category Community Framework
+ *
+ * @method ObjectTypeDefinition create()
+ * @method ObjectTypeDefinitionEditor[] getObjects()
+ * @method ObjectTypeDefinitionEditor getSingleObject()
*/
class ObjectTypeDefinitionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.
* @category Community Framework
+ *
+ * @method Option create()
+ * @method OptionEditor[] getObjects()
+ * @method OptionEditor getSingleObject()
*/
class OptionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.option.category
* @category Community Framework
+ *
+ * @method OptionCategory create()
+ * @method OptionCategoryEditor[] getObjects()
+ * @method OptionCategoryEditor getSingleObject()
*/
class OptionCategoryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.package
* @category Community Framework
+ *
+ * @method Package create()
+ * @method PackageEditor[] getObjects()
+ * @method PackageEditor getSingleObject()
*/
class PackageAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.package.installation.plugin
* @category Community Framework
+ *
+ * @method PackageInstallationPlugin create()
+ * @method PackageInstallationPluginEditor[] getObjects()
+ * @method PackageInstallationPluginEditor getSingleObject()
*/
class PackageInstallationPluginAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.package.installation.queue
* @category Community Framework
+ *
+ * @method PackageInstallationQueue create()
+ * @method PackageInstallationQueueEditor[] getObjects()
+ * @method PackageInstallationQueueEditor getSingleObject()
*/
class PackageInstallationQueueAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.package.update
* @category Community Framework
+ *
+ * @method PackageUpdate create()
+ * @method PackageUpdateEditor[] getObjects()
+ * @method PackageUpdateEditor getSingleObject()
*/
class PackageUpdateAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.package.update.server
* @category Community Framework
+ *
+ * @method PackageUpdateServer create()
+ * @method PackageUpdateServerEditor[] getObjects()
+ * @method PackageUpdateServerEditor getSingleObject()
*/
class PackageUpdateServerAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
* @package com.woltlab.wcf
* @subpackage data.package.update.version
* @category Community Framework
+ *
+ * @method PackageUpdateVersion create()
+ * @method PackageUpdateVersionEditor[] getObjects()
+ * @method PackageUpdateVersionEditor getSingleObject()
*/
class PackageUpdateVersionAction extends AbstractDatabaseObjectAction {
/**
* @subpackage data.page
* @category Community Framework
* @since 2.2
+ *
+ * @method PageEditor[] getObjects()
+ * @method PageEditor getSingleObject()
*/
class PageAction extends AbstractDatabaseObjectAction implements ISearchAction, IToggleAction {
/**
/**
* @inheritDoc
+ * @return Page
*/
public function create() {
+ /** @var Page $page */
$page = parent::create();
// save page content
* @package com.woltlab.wcf
* @subpackage data.paid.subscription
* @category Community Framework
+ *
+ * @method PaidSubscriptionEditor[] getObjects()
+ * @method PaidSubscriptionEditor getSingleObject()
*/
class PaidSubscriptionAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
/**
* @inheritDoc
+ * @return PaidSubscription
*/
public function create() {
$showOrder = 0;
unset($this->parameters['data']['showOrder']);
}
+ /** @var PaidSubscription $subscription */
$subscription = parent::create();
$editor = new PaidSubscriptionEditor($subscription);
$editor->setShowOrder($showOrder);
* @package com.woltlab.wcf
* @subpackage data.paid.subscription.transaction.log
* @category Community Framework
+ *
+ * @method PaidSubscriptionTransactionLog create()
+ * @method PaidSubscriptionTransactionLogEditor[] getObjects()
+ * @method PaidSubscriptionTransactionLogEditor getSingleObject()
*/
class PaidSubscriptionTransactionLogAction extends AbstractDatabaseObjectAction {}
* @package com.woltlab.wcf
* @subpackage data.paid.subscription.user
* @category Community Framework
+ *
+ * @method PaidSubscriptionUserEditor[] getObjects()
+ * @method PaidSubscriptionUserEditor getSingleObject()
*/
class PaidSubscriptionUserAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritDoc
+ * @return PaidSubscriptionUser
*/
public function create() {
$this->parameters['data']['subscriptionID'] = $this->parameters['subscription']->subscriptionID;
}
if (!isset($this->parameters['data']['isActive'])) $this->parameters['data']['isActive'] = 1;
+ /** @var PaidSubscriptionUser $subscriptionUser */
$subscriptionUser = parent::create();
// update group memberships
* @package com.woltlab.wcf
* @subpackage data.poll
* @category Community Framework
+ *
+ * @method PollEditor[] getObjects()
+ * @method PollEditor getSingleObject()
*/
class PollAction extends AbstractDatabaseObjectAction implements IGroupedUserListAction {
/**
/**
* @inheritDoc
+ * @return Poll
*/
public function create() {
if (!isset($this->parameters['data']['time'])) $this->parameters['data']['time'] = TIME_NOW;
- // create poll
+ /** @var Poll $poll */
$poll = parent::create();
// create options
* @package com.woltlab.wcf
* @subpackage data.poll.option
* @category Community Framework
+ *
+ * @method PollOption create()
+ * @method PollOptionEditor[] getObjects()
+ * @method PollOptionEditor getSingleObject()
*/
class PollOptionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.search
* @category Community Framework
+ *
+ * @method Search create()
+ * @method SearchEditor[] getObjects()
+ * @method SearchEditor getSingleObject()
*/
class SearchAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.search.keyword
* @category Community Framework
+ *
+ * @method SearchKeyword create()
+ * @method SearchKeywordEditor[] getObjects()
+ * @method SearchKeywordEditor getSingleObject()
*/
class SearchKeywordAction extends AbstractDatabaseObjectAction implements ISearchAction {
/**
* @package com.woltlab.wcf
* @subpackage data.session
* @category Community Framework
+ *
+ * @method Session create()
+ * @method SessionEditor[] getObjects()
+ * @method SessionEditor getSingleObject()
*/
class SessionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.session.virtual
* @category Community Framework
+ *
+ * @method SessionVirtual create()
+ * @method SessionVirtualEditor[] getObjects()
+ * @method SessionVirtualEditor getSingleObject()
*/
class SessionVirtualAction extends ACPSessionVirtualAction {
/**
* @package com.woltlab.wcf
* @subpackage data.sitemap
* @category Community Framework
+ *
+ * @method Sitemap create()
+ * @method SitemapEditor[] getObjects()
+ * @method SitemapEditor getSingleObject()
*/
class SitemapAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.smiley
* @category Community Framework
+ *
+ * @method SmileyEditor[] getObjects()
+ * @method SmileyEditor getSingleObject()
*/
class SmileyAction extends AbstractDatabaseObjectAction implements ISortableAction {
/**
/**
* @inheritDoc
+ * @return Smiley
*/
public function create() {
+ /** @var Smiley $smiley */
$smiley = parent::create();
if (!empty($this->parameters['fileLocation'])) {
<?php
namespace wcf\data\smiley\category;
+use wcf\data\category\Category;
use wcf\data\category\CategoryEditor;
use wcf\data\AbstractDatabaseObjectAction;
use wcf\system\exception\IllegalLinkException;
* @package com.woltlab.wcf
* @subpackage data.smiley.category
* @category Community Framework
+ *
+ * @method Category create()
+ * @method CategoryEditor[] getObjects()
+ * @method CategoryEditor getSingleObject()
*/
class SmileyCategoryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.spider
* @category Community Framework
+ *
+ * @method Spider create()
+ * @method SpiderEditor[] getObjects()
+ * @method SpiderEditor getSingleObject()
*/
class SpiderAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.stat.daily
* @category Community Framework
+ *
+ * @method StatDaily create()
+ * @method StatDailyEditor[] getObjects()
+ * @method StatDailyEditor getSingleObject()
*/
class StatDailyAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.style
* @category Community Framework
+ *
+ * @method StyleEditor[] getObjects()
+ * @method StyleEditor getSingleObject()
*/
class StyleAction extends AbstractDatabaseObjectAction implements IToggleAction, IUploadAction {
/**
/**
* @inheritdoc
+ * @return Style
*/
public function create() {
+ /** @var Style $style */
$style = parent::create();
// add variables
* @package com.woltlab.wcf
* @subpackage data.style.variable
* @category Community Framework
+ *
+ * @method StyleVariable create()
+ * @method StyleVariableEditor[] getObjects()
+ * @method StyleVariableEditor getSingleObject()
*/
class StyleVariableAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.tag
* @category Community Framework
+ *
+ * @method Tag create()
+ * @method TagEditor[] getObjects()
+ * @method TagEditor getSingleObject()
*/
class TagAction extends AbstractDatabaseObjectAction implements ISearchAction {
/**
* @package com.woltlab.wcf
* @subpackage data.template
* @category Community Framework
+ *
+ * @method TemplateEditor[] getObjects()
+ * @method TemplateEditor getSingleObject()
*/
class TemplateAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritDoc
+ * @return Template
*/
public function create() {
+ /** @var Template $template */
$template = parent::create();
if (isset($this->parameters['source'])) {
* @package com.woltlab.wcf
* @subpackage data.template.group
* @category Community Framework
+ *
+ * @method TemplateGroup create()
+ * @method TemplateGroupEditor[] getObjects()
+ * @method TemplateGroupEditor getSingleObject()
*/
class TemplateGroupAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.template.listener
* @category Community Framework
+ *
+ * @method TemplateListener create()
+ * @method TemplateListenerEditor[] getObjects()
+ * @method TemplateListenerEditor getSingleObject()
*/
class TemplateListenerAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user
* @category Community Framework
+ *
+ * @method UserEditor[] getObjects()
+ * @method UserEditor getSingleObject()
*/
class UserAction extends AbstractDatabaseObjectAction implements IClipboardAction, ISearchAction {
/**
}
/**
- * Creates a new user.
- *
+ * @inheritDoc
* @return User
*/
public function create() {
$this->parameters['data']['socialNetworkPrivacySettings'] = '';
}
+ /** @var User $user */
$user = parent::create();
$userEditor = new UserEditor($user);
* @package com.woltlab.wcf
* @subpackage data.user.activity.event
* @category Community Framework
+ *
+ * @method UserActivityEvent create()
+ * @method UserActivityEventEditor[] getObjects()
+ * @method UserActivityEventEditor getSingleObject()
*/
class UserActivityEventAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.authentication.failure
* @category Community Framework
+ *
+ * @method UserAuthenticationFailure create()
+ * @method UserAuthenticationFailureEditor[] getObjects()
+ * @method UserAuthenticationFailureEditor getSingleObject()
*/
-class UserAuthenticationFailureAction extends AbstractDatabaseObjectAction {
-}
+class UserAuthenticationFailureAction extends AbstractDatabaseObjectAction { }
* @package com.woltlab.wcf
* @subpackage data.user.avatar
* @category Community Framework
+ *
+ * @method UserAvatar create()
+ * @method UserAvatarEditor[] getObjects()
+ * @method UserAvatarEditor getSingleObject()
*/
class UserAvatarAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.follow
* @category Community Framework
+ *
+ * @method UserFollow create()
+ * @method UserFollowEditor[] getObjects()
+ * @method UserFollowEditor getSingleObject()
*/
class UserFollowAction extends AbstractDatabaseObjectAction implements IGroupedUserListAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.group
* @category Community Framework
+ *
+ * @method UserGroupEditor[] getObjects()
+ * @method UserGroupEditor getSingleObject()
*/
class UserGroupAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritDoc
+ * @return UserGroup
*/
public function create() {
+ /** @var UserGroup $group */
$group = parent::create();
if (isset($this->parameters['options'])) {
* @package com.woltlab.wcf
* @subpackage data.user.group.assignment
* @category Community Framework
+ *
+ * @method UserGroupAssignment create()
+ * @method UserGroupAssignmentEditor[] getObjects()
+ * @method UserGroupAssignmentEditor getSingleObject()
*/
class UserGroupAssignmentAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.group.option
* @category Community Framework
+ *
+ * @method UserGroupOption create()
+ * @method UserGroupOptionEditor[] getObjects()
+ * @method UserGroupOptionEditor getSingleObject()
*/
class UserGroupOptionAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.group.option.category
* @category Community Framework
+ *
+ * @method UserGroupOptionCategory create()
+ * @method UserGroupOptionCategoryEditor[] getObjects()
+ * @method UserGroupOptionCategoryEditor getSingleObject()
*/
class UserGroupOptionCategoryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.ignore
* @category Community Framework
+ *
+ * @method UserIgnore create()
+ * @method UserIgnoreEditor[] getObjects()
+ * @method UserIgnoreEditor getSingleObject()
*/
class UserIgnoreAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.menu.item
* @category Community Framework
+ *
+ * @method UserMenuItem create()
+ * @method UserMenuItemEditor[] getObjects()
+ * @method UserMenuItemEditor getSingleObject()
*/
class UserMenuItemAction extends AbstractDatabaseObjectAction { }
* @package com.woltlab.wcf
* @subpackage data.user.notification
* @category Community Framework
+ *
+ * @method UserNotificationEditor[] getObjects()
+ * @method UserNotificationEditor getSingleObject()
*/
class UserNotificationAction extends AbstractDatabaseObjectAction {
/**
/**
* @inheritDoc
+ * @return UserNotification
*/
public function create() {
+ /** @var UserNotification $notification */
$notification = parent::create();
$sql = "INSERT INTO wcf".WCF_N."_user_notification_to_user
* @package com.woltlab.wcf
* @subpackage data.user.notification.event
* @category Community Framework
+ *
+ * @method UserNotificationEventEditor[] getObjects()
+ * @method UserNotificationEventEditor getSingleObject()
*/
class UserNotificationEventAction extends AbstractDatabaseObjectAction {
/**
* @inheritDoc
+ * @return UserNotificationEvent
*/
public function create() {
+ /** @var UserNotificationEvent $event */
$event = parent::create();
if ($event->preset) {
* @package com.woltlab.wcf
* @subpackage data.user.object.watch
* @category Community Framework
+ *
+ * @method UserObjectWatch create()
+ * @method UserObjectWatchEditor[] getObjects()
+ * @method UserObjectWatchEditor getSingleObject()
*/
class UserObjectWatchAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.option
* @category Community Framework
+ *
+ * @method UserOption create()
+ * @method UserOptionEditor[] getObjects()
+ * @method UserOptionEditor getSingleObject()
*/
class UserOptionAction extends AbstractDatabaseObjectAction implements IToggleAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.option.category
* @category Community Framework
+ *
+ * @method UserOptionCategory create()
+ * @method UserOptionCategoryEditor[] getObjects()
+ * @method UserOptionCategoryEditor getSingleObject()
*/
class UserOptionCategoryAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.profile.menu.item
* @category Community Framework
+ *
+ * @method UserProfileMenuItem create()
+ * @method UserProfileMenuItemEditor[] getObjects()
+ * @method UserProfileMenuItemEditor getSingleObject()
*/
class UserProfileMenuItemAction extends AbstractDatabaseObjectAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.profile.visitor
* @category Community Framework
+ *
+ * @method UserProfileVisitor create()
+ * @method UserProfileVisitorEditor[] getObjects()
+ * @method UserProfileVisitorEditor getSingleObject()
*/
class UserProfileVisitorAction extends AbstractDatabaseObjectAction implements IGroupedUserListAction {
/**
* @package com.woltlab.wcf
* @subpackage data.user.rank
* @category Community Framework
+ *
+ * @method UserRank create()
+ * @method UserRankEditor[] getObjects()
+ * @method UserRankEditor getSingleObject()
*/
class UserRankAction extends AbstractDatabaseObjectAction {
/**