added getSelfServiceSearchAttributes()

This commit is contained in:
Roland Gruber 2006-06-28 15:12:29 +00:00
parent 6044fa1f48
commit e79d235e73
1 changed files with 11 additions and 0 deletions

View File

@ -655,6 +655,17 @@ class baseModule {
else return array(); 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();
}
} }