added $pdfKeys to get_pdfEntries

This commit is contained in:
Roland Gruber 2015-01-07 17:16:35 +00:00
parent 250256f273
commit 8a4bb431a7
41 changed files with 287 additions and 201 deletions

View file

@ -3,7 +3,7 @@
$Id$
This code is not yet part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2012 - 2014 Roland Gruber
Copyright (C) 2012 - 2015 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -418,11 +418,12 @@ class puppetClient extends baseModule {
}
/**
* Returns the PDF entries for this module.
*
* @return array list of possible PDF entries
*/
function get_pdfEntries() {
* Returns a list of possible PDF entries for this account.
*
* @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) {
$return = array();
if (!in_array('puppetClient', $this->attributes['objectClass'])) {
return $return;