Updated form and page documentations
authorMatthias Schmidt <gravatronics@live.com>
Thu, 28 Jul 2011 07:43:27 +0000 (09:43 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 28 Jul 2011 07:43:27 +0000 (09:43 +0200)
Updated the form and page documentations, some acp forms' documentations
still need to be updated. Additionally the obsolete property
wcf\acp\page\PackageListPage::$packageList has been removed and a
property name typo was fixed (in wcf\acp\form\PackageUpdateAuthForm:
$header instead of $eader).

26 files changed:
wcfsetup/install/files/lib/acp/form/ACPForm.class.php
wcfsetup/install/files/lib/acp/form/AbstractOptionListForm.class.php
wcfsetup/install/files/lib/acp/form/CronjobEditForm.class.php
wcfsetup/install/files/lib/acp/form/LoginForm.class.php
wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php
wcfsetup/install/files/lib/acp/form/MasterPasswordInitForm.class.php
wcfsetup/install/files/lib/acp/form/OptionImportForm.class.php
wcfsetup/install/files/lib/acp/form/PackageStartInstallForm.class.php
wcfsetup/install/files/lib/acp/form/PackageUpdateAuthForm.class.php
wcfsetup/install/files/lib/acp/form/PackageUpdateForm.class.php
wcfsetup/install/files/lib/acp/form/PackageUpdateSearchForm.class.php
wcfsetup/install/files/lib/acp/form/UserAssignToGroupForm.class.php
wcfsetup/install/files/lib/acp/page/ACPSessionLogPage.class.php
wcfsetup/install/files/lib/acp/page/CacheListPage.class.php
wcfsetup/install/files/lib/acp/page/IndexPage.class.php
wcfsetup/install/files/lib/acp/page/PackageAutoUpdateListPage.class.php
wcfsetup/install/files/lib/acp/page/PackageListPage.class.php
wcfsetup/install/files/lib/acp/page/PackageUpdateSearchResultPage.class.php
wcfsetup/install/files/lib/acp/page/PackageViewPage.class.php
wcfsetup/install/files/lib/acp/page/UpdateServerListPage.class.php
wcfsetup/install/files/lib/acp/page/UserGroupListPage.class.php
wcfsetup/install/files/lib/acp/page/UserListPage.class.php
wcfsetup/install/files/lib/form/AbstractForm.class.php
wcfsetup/install/files/lib/page/AbstractPage.class.php
wcfsetup/install/files/lib/page/MultipleLinkPage.class.php
wcfsetup/install/files/lib/page/SortablePage.class.php

index 129258d54a65ce73e16d283bed094ce55cfdea97..7562e345e88a3a86951f71abbda6e3c6e465160b 100755 (executable)
@@ -15,8 +15,7 @@ use wcf\form\AbstractForm;
  */
 class ACPForm extends AbstractForm {
        /**
-        * Active acp menu item.
-        * 
+        * active acp menu item
         * @var string
         */
        public $activeMenuItem = '';
index 041267406141147657e3cdb5ff6dc6e54a4d75c1..324f18c495191f41c0c23249ead1640c7eb87d36 100755 (executable)
@@ -42,13 +42,13 @@ abstract class AbstractOptionListForm extends AbstractForm {
 
        /**
         * list of all option categories
-        * @var array<OptionCategory>
+        * @var array<wcf\data\option\category\OptionCategory>
         */
        public $cachedCategories = array();
        
        /**
         * list of all options
-        * @var array<Option>
+        * @var array<wcf\data\option\Option>
         */
        public $cachedOptions = array();
        
index ce5de5f47716436a83e3916cbfef32997b4e36c4..b1b3df027212a64f133355c5f88789d2ae161dbb 100755 (executable)
@@ -28,15 +28,13 @@ class CronjobEditForm extends CronjobAddForm {
        
        /**
         * cronjob id
-        * 
         * @var integer
         */
        public $cronjobID = 0;
        
        /**
         * cronjob object
-        *
-        * @var Cronjob
+        * @var wcf\data\cronjob\Cronjob
         */
        public $cronjob = null;
        
index 7eabecce4aad2ec7c88af486df0b0b53abca0a9a..075968cfbf4cf4bd1bdcb79315cf8b84b65b5823 100755 (executable)
@@ -39,7 +39,7 @@ class LoginForm extends AbstractForm {
        
        /**
         * user object
-        * @var User
+        * @var wcf\data\user\User
         */
        public $user;
        
index cdcf790db7a81f1c92b68511f5f4c9eb58db68ba..b5d0b3b23db6dd3257180bbf404f0ccdf34eff6b 100755 (executable)
@@ -23,14 +23,12 @@ class MasterPasswordForm extends ACPForm {
        
        /**
         * master password
-        *
         * @var string
         */
        public $masterPassword = '';
        
        /**
         * forward url
-        *
         * @var string
         */
        public $url = '';
index db330d113d817947ef1add0f8c7e3e2e5ce38059..9f1445420b202bf556372d01b2e325568264a8a7 100755 (executable)
@@ -25,7 +25,6 @@ class MasterPasswordInitForm extends MasterPasswordForm {
 
        /**
         * master password confirm
-        * 
         * @var string
         */
        public $confirmMasterPassword = '';
index 2101b64719cd1e40454cf0ea46c61abadec06289..0e32533106374adb40465c01c420f8918deff286 100755 (executable)
@@ -23,14 +23,14 @@ class OptionImportForm extends ACPForm {
        public $templateName = 'optionImport';
        
        /**
-        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        * @see wcf\page\AbstractPage::$neededPermissions
         */
-       public $activeMenuItem = 'wcf.acp.menu.link.option.importAndExport';
+       public $neededPermissions = array('admin.system.canEditOption');
        
        /**
-        * @see wcf\page\AbstractPage::$neededPermissions
+        * @see wcf\acp\form\ACPForm::$activeMenuItem
         */
-       public $neededPermissions = array('admin.system.canEditOption');
+       public $activeMenuItem = 'wcf.acp.menu.link.option.importAndExport';
        
        /**
         * upload file data
index 13ddfe9bf2605d2035524787fa0e19cbdff6fcaa..63e3309ce6f17683e97dff8a4fc611155f8ee188 100755 (executable)
@@ -25,14 +25,50 @@ use wcf\util\StringUtil;
  * @category   Community Framework
  */
 class PackageStartInstallForm extends ACPForm {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageStartInstall';
+       
+       /**
+        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        */
        public $activeMenuItem = 'wcf.acp.menu.link.package.install';
-               
+       
+       /**
+        * id of the updated package
+        * @var integer
+        */
        public $packageID = 0;
+       
+       /**
+        * updated package object
+        * @var wcf\system\package\Package
+        */
        public $package = null;
+       
+       /**
+        * url to the package to download
+        * @var string
+        */
        public $downloadPackage = '';
+       
+       /**
+        * data of the uploaded package
+        * @var array<string>
+        */
        public $uploadPackage = '';
+       
+       /**
+        * archive of the instalation/update package
+        * @var wcf\system\package\PackageArchive
+        */
        public $archive = null;
+       
+       /**
+        * package installation/update queue
+        * @var wcf\data\package\installation\queue\PackageInstallationQueue
+        */
        public $queue = null;
        
        /**
index 8034837773b6dba40b26791a1137ccb8e7b49087..41e95fe5cd69e2b01369768158e1b4da571c6746 100755 (executable)
@@ -17,24 +17,92 @@ use wcf\util\StringUtil;
  * @category   Community Framework
  */
 class PackageUpdateAuthForm extends ACPForm {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageUpdateAuth';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage', 'admin.system.package.canInstallPackage');
+       
+       /**
+        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        */
        public $activeMenuItem = 'wcf.acp.menu.link.package';
        
-       public $exception;
+       /**
+        * exception thrown if an authorization for the package update server is needed
+        * @var wcf\system\package\PackageUpdateAuthorizationRequiredException
+        */
+       public $exception = null;
+       
+       /**
+        * login username for package update server
+        * @var string
+        */
        public $loginUsername = '';
+       
+       /**
+        * login password for package update server
+        * @var string
+        */
        public $loginPassword = '';
+       
+       /**
+        * indicates if login data is saved
+        * @var integer
+        */
        public $saveAuthData = 0;
        
+       /**
+        * id of the relevant package update server
+        * @var integer
+        */
        public $packageUpdateServerID = 0;
+       
+       /**
+        * url of the relevant package update server
+        * @var integer
+        */
        public $url = '';
-       public $eader = '';
+       
+       /**
+        * response header of the relavent package update server
+        * @var string
+        */
+       public $header = '';
+       
+       /**
+        * realm part of the response header
+        * @var string
+        */
        public $realm = '';
+       
+       /**
+        * response of the relevant package update server
+        * @var integer
+        */
        public $message = '';
        
+       /**
+        * post parameters of the form
+        * @var string
+        */
        public $postParameters = '';
+       
+       /**
+        * get parameters of the form
+        * @var string
+        */
        public $getParameters = '';
        
+       /**
+        * list of reserved parameters that may not be part of the post and get
+        * parameters
+        * @var array<string>
+        */
        protected static $reservedParameters = array('s', 'packageID', 'page', 'form', 'action', 'packageUpdateServerID', 'loginUsername', 'loginPassword', 'saveAuthData', 'requestedPage', 'requestedForm', 'requestedAction');
        
        /**
index fa121143c2b203d5fccb84ba54ba58d6879b7427..4e12584ddb7230590f07613376b30fac736c5fbf 100755 (executable)
@@ -18,13 +18,43 @@ use wcf\util\HeaderUtil;
  * @category   Community Framework
  */
 class PackageUpdateForm extends ACPForm {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageUpdate';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage', 'admin.system.package.canInstallPackage');
+       
+       /**
+        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        */
        public $activeMenuItem = 'wcf.acp.menu.link.package';
        
+       /**
+        * list of packages to update
+        * @var array<string>
+        */
        public $updates = array();
+       
+       /**
+        * list with data of excluded packages
+        * @var array<array>
+        */
        public $excludedPackages = array();
+       
+       /**
+        * list with data of packages which will be installed
+        * @var array<array>
+        */
        public $packageInstallationStack = array();
+       
+       /**
+        * scheduler for package update
+        * @var wcf\system\package\PackageInstallationScheduler
+        */
        public $packageUpdate = null;
        
        /**
index 43b61ceed2449780b86d73a4cd2c69e021e1596c..26515b92d2428636d5d415b5c6a2594f5ad8c78b 100644 (file)
@@ -22,20 +22,80 @@ use wcf\util\StringUtil;
  * @category   Community Framework
  */
 class PackageUpdateSearchForm extends ACPForm {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageUpdateSearch';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage', 'admin.system.package.canInstallPackage');
+       
+       /**
+        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        */
        public $activeMenuItem = 'wcf.acp.menu.link.package.database';
        
+       /**
+        * list of package server ids which are searched
+        * @var array<integer>
+        */
        public $packageUpdateServerIDs = array();
+       
+       /**
+        * searched package name
+        * @var string
+        */
        public $packageName = '';
+       
+       /**
+        * searched author
+        * @var string
+        */
        public $author = '';
+       
+       /**
+        * indicates if package description is searched
+        * @var integer
+        */
        public $searchDescription = 0;
+       
+       /**
+        * indicates if plugins for already installed packages are searched
+        * @var integer
+        */
        public $plugin = 1;
+       
+       /**
+        * indicates if standalone applications are searched
+        * @var integer
+        */
        public $standalone = 1;
+       
+       /**
+        * indicates if packages that aren't plugins or standalone applications
+        * are searched
+        * @var integer
+        */
        public $other = 0;
+       
+       /**
+        * indicates if unique packages are ignored that are already installed
+        * @var integer
+        */
        public $ignoreUniques = 1;
        
+       /**
+        * list of available update servers
+        * @var array<wcf\data\package\update\server\PackageUpdateServer>
+        */
        public $updateServers = array();
+       
+       /**
+        * ids of package updates
+        * @var string
+        */
        public $packageUpdateIDs = '';
        
        /**
index 2f1ba5e2ba81168b3857b96c0340e93bdf838304..bd9f2b2eea2ade66633000aa58de7bf0f996ee4d 100755 (executable)
@@ -21,10 +21,21 @@ use wcf\util\ArrayUtil;
  * @category   Community Framework
  */
 class UserAssignToGroupForm extends ACPForm {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'userAssignToGroup';
-       public $activeMenuItem = 'wcf.acp.menu.link.user.management';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.user.canEditUser');
        
+       /**
+        * @see wcf\acp\form\ACPForm::$activeMenuItem
+        */
+       public $activeMenuItem = 'wcf.acp.menu.link.user.management';
+       
        public $userIDs = array();
        public $groupIDs = array();
        public $users = array();
index 113e504a45a3efa4832d5a81803d1e7975b39bef..96997e7a2a354735357c7eb355f6195f2df6696c 100755 (executable)
@@ -34,14 +34,12 @@ class ACPSessionLogPage extends SortablePage {
        
        /**
         * session log id
-        *
         * @var integer
         */
        public $sessionLogID = 0;
        
        /**
         * session log object
-        *
         * @var wcf\data\acp\session\log\ACPSessionLog
         */
        public $sessionLog = null;
index 704fc6d23531a064df555a41165ee31d15429576..42ff8e5bcd049fa0de5a03930856ca07cf5d1d3b 100755 (executable)
@@ -20,21 +20,30 @@ use wcf\util\FileUtil;
  * @category   Community Framework
  */
 class CacheListPage extends AbstractPage {
-       // system
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'cacheList';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.canViewLog');
+       
+       /**
+        * indicates if cache was cleared
+        * @var integer
+        */
        public $cleared = 0;
        
        /**
         * contains a list of cache resources
-        *
         * @var array
         */
        public $caches = array();
        
        /**
         * contains general cache information
-        *
         * @var array
         */
        public $cacheData = array();
index fc319b70ce76ec71aed129faf80781e21c0da3fa..e3dc9420b4557ae67c5f4c2fdc696686056a5397 100755 (executable)
@@ -17,7 +17,9 @@ use wcf\system\WCFACP;
  * @category   Community Framework
  */
 class IndexPage extends AbstractPage {
-       // system
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'index';
        
        /**
index cddd0b2349fe45a3c6ea61906d141bfc5e9d716d..2244070f0a7d9ae68f52a28798607d4c8b49c4fc 100755 (executable)
@@ -17,9 +17,20 @@ use wcf\system\package\PackageUpdateDispatcher;
  * @category   Community Framework
  */
 class PackageAutoUpdateListPage extends AbstractPage {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageAutoUpdateList';
+
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage');
        
+       /**
+        * list with data of available updates
+        * @var array
+        */
        public $availableUpdates = array();
        
        /**
index 725ee6d010b5c2fd01dc19715cb95e30557db120..a5c2a24d40df3321fa8fd767660dcddc0b6db813 100755 (executable)
@@ -16,29 +16,38 @@ use wcf\system\WCF;
  * @category   Community Framework
  */
 class PackageListPage extends SortablePage {
-       // system
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageList';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage', 'admin.system.package.canUninstallPackage');
+       
+       /**
+        * @see wcf\page\MultipleLinkPage::$itemsPerPage
+        */
        public $itemsPerPage = 50;
+       
+       /**
+        * @see wcf\page\SortablePage::$defaultSortField
+        */
        public $defaultSortField = 'packageType';
-       public $defaultSortOrder = 'DESC';
        
        /**
-        * list of packages
-        * 
-        * @var PackageList
+        * @see wcf\page\SortablePage::$defaultSortOrder
         */
-       public $packageList = null;
+       public $defaultSortOrder = 'DESC';
        
        /**
-        * class name for DatabaseObjectList
-        * 
-        * @var string
+        * @see wcf\page\MultipleLinkPage::$objectListClassName
         */     
        public $objectListClassName = 'wcf\data\package\PackageList';
        
        /**
-        * @see wcf\page\MuletipleLinkPage::readObjects()
+        * @see wcf\page\MultipleLinkPage::readObjects()
         */     
        protected function readObjects() {
                $this->sqlOrderBy = 'package.'.($this->sortField == 'packageType' ? 'standalone '.$this->sortOrder.', package.parentPackageID '.$this->sortOrder : $this->sortField.' '.$this->sortOrder).($this->sortField != 'packageName' ? ', package.packageName ASC' : '');
index 6eb7786808441b701400ebda93099e0dbbc08960..ef4db2063f733e9a928bc9f6e9e371e67d80b9f6 100755 (executable)
@@ -19,10 +19,25 @@ use wcf\system\WCF;
  * @category   Community Framework
  */
 class PackageUpdateSearchResultPage extends SortablePage {
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageUpdateSearchResult';
-       public $defaultSortField = 'packageName';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage', 'admin.system.package.canInstallPackage');
        
+       /**
+        * @see wcf\page\SortablePage::$defaultSortField
+        */
+       public $defaultSortField = 'packageName';
+       
+       /**
+        * id of the package update search
+        * @var integer
+        */
        public $searchID = 0;
        
        /**
@@ -30,6 +45,11 @@ class PackageUpdateSearchResultPage extends SortablePage {
         * @var wcf\data\search\Search
         */
        public $search = null;
+
+       /**
+        * list with data of package updates
+        * @var array
+        */
        public $packages = array();
        
        /**
index 30a673914ffe49267289292007d729a92d0d6148..a0f9ab9055c1fb0b06063c4223540a8c8d0a9cd4 100755 (executable)
@@ -16,14 +16,47 @@ use wcf\system\WCF;
  * @category   Community Framework
  */
 class PackageViewPage extends AbstractPage {
-       public $package;
-       public $packageID = 0;
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'packageView';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canUpdatePackage', 'admin.system.package.canUninstallPackage');
+       
+       /**
+        * list with data of required packages explicitly given in the requiredPackages
+        * tag during installation
+        * @var array<string>
+        */
        public $requiredPackages = array();
+       
+       /**
+        * list with data of dependent packages
+        * @var array<string>
+        */
        public $dependentPackages = array();
+       
+       /**
+        * list with data of  required packages
+        * @var array<string>
+        */
        public $dependencies = array();
        
+       /**
+        * id of the package
+        * @var integer
+        */
+       public $packageID = 0;
+       
+       /**
+        * package object
+        * @var Package
+        */
+       public $package = null;
+       
        /**
         * @see wcf\page\IPage::readParameters()
         */
index 6a30bf9fce6bb03341a965c5ecd5ed2e4165abe2..1fdb8be7a8c57741c5bee65f0e918fb855747a01 100755 (executable)
@@ -15,17 +15,32 @@ use wcf\system\WCF;
  * @category   Community Framework
  */
 class UpdateServerListPage extends SortablePage {
-       // system
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'updateServerList';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.system.package.canEditServer');
+       
+       /**
+        * @see wcf\page\SortablePage::$defaultSortField
+        */
        public $defaultSortField = 'serverURL';
-       public $deletedPackageUpdateServerID = 0;
        
        /**
         * @see wcf\page\MultipleLinkPage::$objectListClassName
         */     
        public $objectListClassName = 'wcf\data\package\update\server\PackageUpdateServerList';
        
+       /**
+        * id of a package update server that has just been deleted
+        * @var integer
+        */
+       public $deletedPackageUpdateServerID = 0;
+       
        /**
         * @see wcf\page\IPage::readParameters()
         */
index 85c4f2d13156e94856b4df647d4df2257cae1ac7..2a1d19bb84ed97785b663a391e7e88e6b68a1629 100755 (executable)
@@ -15,17 +15,32 @@ use wcf\system\WCF;
  * @category   Community Framework
  */
 class UserGroupListPage extends SortablePage {
-       // system
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'userGroupList';
-       public $deletedGroups = 0;
-       public $defaultSortField = 'groupName';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.user.canEditGroup', 'admin.user.canDeleteGroup');
        
+       /**
+        * @see wcf\page\SortablePage::$defaultSortField
+        */
+       public $defaultSortField = 'groupName';
+       
        /**
         * @see wcf\page\MultipleLinkPage::$objectListClassName
         */     
        public $objectListClassName = 'wcf\data\user\group\UserGroupList';
        
+       /**
+        * indicates if a group has just been deleted
+        * @var integer
+        */
+       public $deletedGroups = 0;
+       
        /**
         * @see wcf\page\IPage::readParameters()
         */
index 58530cdd7b2783d48fa1262dae06654a3843ad1f..3b82442f0b2db530cac1a38c80ddcbc29113cea1 100755 (executable)
@@ -22,13 +22,30 @@ use wcf\util\StringUtil;
  * @category   Community Framework
  */
 class UserListPage extends SortablePage {
-       // system
-       public $itemsPerPage = 50;
-       public $defaultSortField = 'username';
+       /**
+        * @see wcf\page\AbstractPage::$templateName
+        */
        public $templateName = 'userList';
+       
+       /**
+        * @see wcf\page\AbstractPage::$neededPermissions
+        */
        public $neededPermissions = array('admin.user.canSearchUser');
        
-       // parameters
+       /**
+        * @see wcf\page\MultipleLinkPage::$itemsPerPage
+        */
+       public $itemsPerPage = 50;
+       
+       /**
+        * @see wcf\page\SortablePage::$defaultSortField
+        */
+       public $defaultSortField = 'username';
+       
+       /**
+        * id of a user search
+        * @var integer
+        */
        public $searchID = 0;
        
        // data
index b19feac7d147294a9bca8a8539eca5f07d367aae..e907c45aef6c6eea248227928f2a682e5473f643 100644 (file)
@@ -18,15 +18,13 @@ use wcf\system\exception\UserInputException;
  */
 abstract class AbstractForm extends AbstractPage implements IForm {
        /**
-        * Name of error field.
-        *
+        * name of error field
         * @var string
         */
        public $errorField = '';
        
        /**
-        * Name of error type.
-        *
+        * error type
         * @var string
         */
        public $errorType = '';
index 93de49b6bda1b50bb9d5156f3a24e8d932ece47c..2a2701f4745d6238be8d23789168d5d234dfa5eb 100644 (file)
@@ -16,29 +16,25 @@ use wcf\system\event\EventHandler;
  */
 abstract class AbstractPage implements IPage {
        /**
-        * Name of the template for the called page.
-        * 
+        * name of the template for the called page
         * @var string
         */
        public $templateName = '';
        
        /**
-        * Value of the given action parameter.
-        * 
+        * value of the given action parameter
         * @var string
         */
        public $action = '';
        
        /**
-        * Needed modules to view this page.
-        * 
+        * needed modules to view this page
         * @var array<string>
         */
        public $neededModules = array();
        
        /**
-        * Needed permissions to view this page.
-        * 
+        * needed permissions to view this page
         * @var array<string>
         */
        public $neededPermissions = array();
index 563c8548021b1f025991aac8f6a98e82c3dee170..088f4c11b536085e10fc5f3217762456636ec80a 100644 (file)
@@ -18,64 +18,55 @@ use wcf\util\ClassUtil;
  */
 abstract class MultipleLinkPage extends AbstractPage {
        /**
-        * The current page number.
-        * 
+        * current page number
         * @var integer
         */
        public $pageNo = 0;
        
        /**
-        * The number of all pages.
-        * 
+        * number of all pages
         * @var integer
         */
        public $pages = 0;
        
        /**
-        * The number of items shown per page.
-        * 
+        * number of items shown per page
         * @var integer
         */
        public $itemsPerPage = 20;
        
        /**
-        * The number of all items.
-        * 
+        * number of all items
         * @var integer
         */
        public $items = 0;
        
        /**
-        * Indicates the range of the listed items.
-        * 
+        * indicates the range of the listed items
         * @var integer
         */
        public $startIndex = 0;
        
        /**
-        * Indicates the range of the listed items.
-        * 
+        * indicates the range of the listed items.
         * @var integer
         */
        public $endIndex = 0;
        
        /**
         * DatabaseObjectList object
-        * 
         * @var wcf\data\DatabaseObjectList
         */     
        public $objectList = null;
        
        /**
         * class name for DatabaseObjectList
-        * 
         * @var string
         */     
        public $objectListClassName = '';
        
        /**
         * list of DatabaseObject objects
-        * 
         * @var array<wcf\data\DatabaseObject>
         */     
        public $objects = array();
index 76a0014dab4bf85b50ac011f7be500a9161e20bf..8fc8cba78ea08e1f2b54894482fc8a88e352feec 100644 (file)
@@ -16,29 +16,25 @@ use wcf\system\event\EventHandler;
  */
 abstract class SortablePage extends MultipleLinkPage {
        /**
-        * The selected sort field.
-        * 
+        * selected sort field
         * @var string
         */
        public $sortField = '';
        
        /**
-        * The selected sort order.
-        * 
+        * selected sort order
         * @var string
         */
        public $sortOrder = '';
        
        /**
-        * The default sort field.
-        * 
+        * default sort field
         * @var string
         */
        public $defaultSortField = '';
        
        /**
-        * The default sort order.
-        * 
+        * default sort order
         * @var string
         */
        public $defaultSortOrder = 'ASC';