From e79d235e7354e7d88786e9c51edad9a994b9aef9 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 28 Jun 2006 15:12:29 +0000 Subject: [PATCH] added getSelfServiceSearchAttributes() --- lam/lib/baseModule.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lam/lib/baseModule.inc b/lam/lib/baseModule.inc index 49a4edc1..9581db05 100644 --- a/lam/lib/baseModule.inc +++ b/lam/lib/baseModule.inc @@ -654,6 +654,17 @@ class baseModule { if (isset($this->meta['extensions']) && is_array($this->meta['extensions'])) return $this->meta['extensions']; else return array(); } + + /** + * Returns a list of possible search attributes for the self service. + * + * @return array attributes + */ + function getSelfServiceSearchAttributes() { + if (isset($this->meta['selfServiceSearchAttributes']) && is_array($this->meta['selfServiceSearchAttributes'])) return $this->meta['selfServiceSearchAttributes']; + else return array(); + } + }