From: Matthias Schmidt Date: Wed, 6 Apr 2016 14:28:28 +0000 (+0200) Subject: Add some missing method documentation X-Git-Tag: 3.0.0_Beta_1~1967^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbca4c6ec8583ea98ca3473a1966827e14f2fbfc;p=GitHub%2FWoltLab%2FWCF.git Add some missing method documentation --- diff --git a/wcfsetup/install/files/lib/data/box/Box.class.php b/wcfsetup/install/files/lib/data/box/Box.class.php index 5e153aa984..84a9c8d725 100644 --- a/wcfsetup/install/files/lib/data/box/Box.class.php +++ b/wcfsetup/install/files/lib/data/box/Box.class.php @@ -217,6 +217,11 @@ class Box extends DatabaseObject { // @todo } + /** + * Returns the menu shown in the box. + * + * @return Menu + */ public function getMenu() { if ($this->menu === null) { $this->menu = MenuCache::getInstance()->getMenuByID($this->menuID); diff --git a/wcfsetup/install/files/lib/system/condition/TimeCondition.class.php b/wcfsetup/install/files/lib/system/condition/TimeCondition.class.php index 5d8ec76e05..ce988158d7 100644 --- a/wcfsetup/install/files/lib/system/condition/TimeCondition.class.php +++ b/wcfsetup/install/files/lib/system/condition/TimeCondition.class.php @@ -95,6 +95,11 @@ class TimeCondition extends AbstractMultipleFieldsCondition implements IContentC HTML; } + /** + * Returns the select element with all available timezones. + * + * @return string + */ protected function getTimezoneFieldElement() { $fieldElement = '