This is the main application class. It handles command-line options, input and output. It communicates with ACLDatabase to save or retrieve ACLs to/from the backup database and with ACLIdMapper to get information about users and groups.
Located in /aclbit.php (line 942)
Constructor.
Validates options.
Runs ACL manager, i.e. the selected action.
Sets an action.
Sets an option value.
Remembers command line options in $this->options.
Gets configuration options from a configuration file (ini structure).
FULL_MASK
= 7
(line 1015)
Full mask rights (int).
OPT_CONFIG
= 'config'
(line 964)
$this->options key for path to configuration file.
OPT_DB
= 'database'
(line 969)
$this->options key for path to SQLite db.
OPT_FILES
= 'files'
(line 975)
$this->options key for files flag. When the flag is on, files' ACLs are backed up as well.
OPT_GROUP
= 'group'
(line 980)
$this->options key for group name or id to search for.
OPT_PATH
= 'path'
(line 985)
$this->options key for path to retrieve ACL entry for.
OPT_RECURSIVE
= 'recursive'
(line 990)
$this->options key for recursive flag.
OPT_ROOT
= 'root'
(line 995)
$this->options key for absolute path to the backup root.
OPT_SELF_CMD
= 'selfcmd'
(line 1000)
$this->options key for absolute path to this program.
OPT_STDIN
= 'stdin'
(line 1005)
$this->options key for input from stdin.
OPT_USER
= 'user'
(line 1010)
$this->options key for user name or id to search for.
Documentation generated on Wed, 30 Apr 2008 08:38:21 +0200 by phpDocumentor 1.4.0