PHPDoc update

This commit is contained in:
Roland Gruber 2017-02-19 09:14:11 +01:00
parent 7ccd41ef11
commit d949b1bae4
42 changed files with 251 additions and 331 deletions

View File

@ -813,7 +813,7 @@ abstract class baseModule {
* Returns the PDF entries for this module. * Returns the PDF entries for this module.
* *
* @param array $pdfKeys list of PDF keys that are included in document * @param array $pdfKeys list of PDF keys that are included in document
* @return array list of possible PDF entries * @return PDFEntry[] list of key => PDFEntry
*/ */
public function get_pdfEntries($pdfKeys) { public function get_pdfEntries($pdfKeys) {
return array(); return array();

View File

@ -2006,7 +2006,7 @@ class accountContainer {
* Returns a list of possible PDF entries for this account. * Returns a list of possible PDF entries for this account.
* *
* @param array $pdfKeys list of PDF keys that are included in document * @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>)) * @return PDFEntry[] list of key => PDFEntry
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -220,11 +220,9 @@ class account extends baseModule {
} }
/** /**
* Returns the PDF entries for this module. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document */
* @return array list of possible PDF entries
*/
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();
$this->addSimplePDFField($return, 'description', _('Description')); $this->addSimplePDFField($return, 'description', _('Description'));

View File

@ -975,10 +975,8 @@ class asteriskAccount extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -797,10 +797,8 @@ class asteriskExtension extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$a = $this->attributes; $a = $this->attributes;

View File

@ -362,10 +362,8 @@ class asteriskVoicemail extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -221,10 +221,8 @@ class authorizedServiceObject extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -403,10 +403,8 @@ class ddns extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
public function get_pdfEntries($pdfKeys) { public function get_pdfEntries($pdfKeys) {
// attributes are taken from DHCP server object // attributes are taken from DHCP server object

View File

@ -657,10 +657,8 @@ By default, the nodes are configured as H-Nodes which fits for small networks. I
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$nodeType = $this->getDHCPOption('netbios-node-type'); $nodeType = $this->getDHCPOption('netbios-node-type');

View File

@ -548,10 +548,8 @@ class eduPerson extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -731,10 +731,8 @@ class fixed_ip extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -685,10 +685,8 @@ class freeRadius extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -195,10 +195,8 @@ class hostObject extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -155,10 +155,8 @@ class ieee802device extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -344,10 +344,8 @@ class inetLocalMailRecipient extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -1970,10 +1970,8 @@ class inetOrgPerson extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -390,10 +390,8 @@ class kolabGroup extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -510,10 +510,8 @@ class kolabSharedFolder extends baseModule { // TODO folder type
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -699,10 +699,8 @@ class kolabUser extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -282,10 +282,8 @@ class ldapPublicKey extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -465,10 +465,8 @@ class nisMailAlias extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -521,10 +521,8 @@ class nisMailAliasUser extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -252,10 +252,8 @@ class nisNetGroupHost extends nisNetGroupUser {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -470,10 +470,8 @@ class nisNetGroupUser extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -572,10 +572,8 @@ class nisnetgroup extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -1826,10 +1826,8 @@ class posixAccount extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$uidLabel = _('User name'); $uidLabel = _('User name');

View File

@ -613,10 +613,8 @@ class posixGroup extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -398,10 +398,8 @@ class puppetClient extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -253,10 +253,8 @@ class pykotaBillingCode extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -459,10 +459,8 @@ class pykotaGroup extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -576,10 +576,8 @@ class pykotaPrinter extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -884,10 +884,8 @@ class pykotaUser extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -611,10 +611,8 @@ class quota extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$this->initQuotas(); $this->initQuotas();

View File

@ -764,10 +764,8 @@ class range extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -590,10 +590,8 @@ class sambaDomain extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -529,10 +529,8 @@ class sambaGroupMapping extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -1904,10 +1904,8 @@ class sambaSamAccount extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -547,10 +547,8 @@ class shadowAccount extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
function get_pdfEntries($pdfKeys) { function get_pdfEntries($pdfKeys) {
$timeZone = getTimeZone(); $timeZone = getTimeZone();

View File

@ -376,10 +376,8 @@ class systemQuotas extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
public function get_pdfEntries($pdfKeys) { public function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -904,10 +904,8 @@ class windowsGroup extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
public function get_pdfEntries($pdfKeys) { public function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -281,10 +281,8 @@ class windowsHost extends baseModule {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
public function get_pdfEntries($pdfKeys) { public function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();

View File

@ -2415,10 +2415,8 @@ class windowsUser extends baseModule implements passwordService {
} }
/** /**
* Returns a list of possible PDF entries for this account. * {@inheritDoc}
* * @see baseModule::get_pdfEntries()
* @param array $pdfKeys list of PDF keys that are included in document
* @return list of PDF entries (array(<PDF key> => <PDF lines>))
*/ */
public function get_pdfEntries($pdfKeys) { public function get_pdfEntries($pdfKeys) {
$return = array(); $return = array();