getRecTypes()
getRecTypes()
Get possible records
The keys of this array are the IDs of the record type. The values are a human friendly description of the record type.
Beatnik base class
Copyright 2005-2007 Alkaloid Networks http://www.alkaloid.net
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
needCommit( $domain = null, $needcommit = null) : mixed
Check or set a flag to show that a domain has outstanding changes that need to be committed.
$domain | ||
$needcommit |
Array of domains needing committing if no arguments are passed. Boolean if only a $domain is passed: True if $domain has outstanding changes, false if not. Mixed if both $domain and $needcommit are passed. True on success, PEAR::Error on error.
hasPermission(string $permname, $permmask = null, $numparents) : boolean
Checks for the given permissions for the current user on the given permissions node. Optionally check for the requested permssion for a given number of steps up the tree.
string | $permname | Name of the permission to check |
$permmask | ||
$numparents |
True if the user has permission, False if not