public $activeMenuItem = 'wcf.acp.menu.link.group.list';
/**
- * @var UserGroup
+ * user groups that can be promoted to owner group
+ * @var UserGroup[]
*/
public $groups = [];
/**
* Changes user style.
- *
- * @return string[]
*/
public function changeStyle() {
StyleHandler::getInstance()->changeStyle($this->style->styleID);
/**
* @param User $user
- * @throws SystemException
* @since 5.2
*/
protected function fireNotificationEvent(User $user) {
/**
* Replaces all relevant variables in the given ad and returns the processed ad.
*
+ * @param string $ad
* @return string
*/
public function replaceVariables($ad);
*
* @param string $text
* @param string[] $allowedBBCodes
- * @return string[]
* @deprecated 3.0 - please use HtmlInputProcessor::validate() instead
*/
public function validateBBCodes($text, array $allowedBBCodes) {
*
* @param Breadcrumb $item
* @param integer $index
- * @return boolean
* @deprecated 3.0
*/
public function replace(Breadcrumb $item, $index) {
* Removes a breadcrumb, returns true if deletion was successful.
*
* @param integer $index
- * @return boolean
* @deprecated 3.0
*/
public function remove($index) {
* Sets the minimum number of values that can be selected or set and returns
* this field.
*
- * @param int $maximum maximum number of values
+ * @param int $minimum maximum number of values
* @return static this field
*
* @throws \InvalidArgumentException if the given minimum number of values is invalid
protected $xpath;
/**
- * @inheritDOc
+ * @inheritDoc
*/
public function load(IHtmlProcessor $htmlProcessor, $html) {
$this->htmlProcessor = $htmlProcessor;
/**
* Reads plain and i18n values from request data.
+ *
+ * @param array|null $requestData used request data (if `null`, `$_POST` is used)
*/
public function readValues(array $requestData = null) {
if ($requestData === null) {
/**
* @inheritDoc
- * @throws SystemException
*/
protected function init() {
$this->applicationOverrides = RoutingCacheBuilder::getInstance()->getData([], 'applicationOverrides');
* Returns the userTrophyIDs of the users, which no longer fulfills the trophy conditions.
*
* @param Trophy $trophy
+ * @param integer $maxTrophyIDs maximum number of trophies that are processed
* @return integer[]
* @since 5.2
*/