mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-05 19:42:31 +02:00
added $pdfKeys to get_pdfEntries
This commit is contained in:
parent
250256f273
commit
8a4bb431a7
41 changed files with 287 additions and 201 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue