AclCLI Class Reference
List of all members.
|
Public Member Functions |
| | AclCLI ($command, $args) |
| | bakeDbConfig ($driver, $connect, $host, $login, $password, $database, $prefix) |
| | checkArgNumber ($expectedNum, $command) |
| | checkNodeType () |
| | create () |
| | delete () |
| | deny () |
| | displayError ($title, $msg) |
| | doDbConfig () |
| | getInput ($prompt, $options=null, $default=null) |
| | getPath () |
| | grant () |
| | help () |
| | hr () |
| | inherit () |
| | initdb () |
| | nodeExists ($type, $id) |
| | setParent () |
| | stderr ($string) |
| | stdout ($string, $newline=true) |
| | upgradedb () |
| | view () |
Public Attributes |
| | $acl |
| | $args |
| | $dataSource = 'default' |
| | $stderr |
| | $stdin |
| | $stdout |
Detailed Description
Definition at line 119 of file acl.php.
Member Function Documentation
| AclCLI::AclCLI |
( |
$ |
command, |
|
|
$ |
args | |
|
) |
| | |
Enter description here...
- Parameters:
-
| unknown_type | $command |
| unknown_type | $args |
- Returns:
- AclCLI
Definition at line 163 of file acl.php.
References $args, and $command.
| AclCLI::bakeDbConfig |
( |
$ |
driver, |
|
|
$ |
connect, |
|
|
$ |
host, |
|
|
$ |
login, |
|
|
$ |
password, |
|
|
$ |
database, |
|
|
$ |
prefix | |
|
) |
| | |
Creates a database configuration file for Bake.
- Parameters:
-
| string | $host |
| string | $login |
| string | $password |
| string | $database |
Definition at line 741 of file acl.php.
References $filename.
| AclCLI::checkArgNumber |
( |
$ |
expectedNum, |
|
|
$ |
command | |
|
) |
| | |
Enter description here...
- Parameters:
-
| unknown_type | $expectedNum |
| unknown_type | $command |
Definition at line 574 of file acl.php.
Referenced by create().
| AclCLI::checkNodeType |
( |
|
) |
|
Enter description here...
Definition at line 265 of file acl.php.
Enter description here...
Definition at line 331 of file acl.php.
References deny.
| AclCLI::displayError |
( |
$ |
title, |
|
|
$ |
msg | |
|
) |
| | |
Enter description here...
- Parameters:
-
| unknown_type | $title |
| unknown_type | $msg |
Definition at line 559 of file acl.php.
| AclCLI::getInput |
( |
$ |
prompt, |
|
|
$ |
options = null, |
|
|
$ |
default = null | |
|
) |
| | |
Prompts the user for input, and returns it.
- Parameters:
-
| string | $prompt Prompt text. |
| mixed | $options Array or string of options. |
| string | $default Default input value. |
- Returns:
- Either the default value, or the user-provided input.
Definition at line 766 of file acl.php.
Enter description here...
Definition at line 293 of file acl.php.
Enter description here...
Definition at line 310 of file acl.php.
Enter description here...
Definition at line 488 of file acl.php.
Outputs a series of minus characters to the standard output, acts as a visual separator.
Definition at line 813 of file acl.php.
Enter description here...
Definition at line 354 of file acl.php.
| AclCLI::nodeExists |
( |
$ |
type, |
|
|
$ |
id | |
|
) |
| | |
Enter description here...
- Parameters:
-
| unknown_type | $type |
| unknown_type | $id |
- Returns:
- unknown
Definition at line 595 of file acl.php.
Enter description here...
Definition at line 279 of file acl.php.
| AclCLI::stderr |
( |
$ |
string |
) |
|
Outputs to the stderr filehandle.
- Parameters:
-
| string | $string Error text to output. |
Definition at line 806 of file acl.php.
| AclCLI::stdout |
( |
$ |
string, |
|
|
$ |
newline = true | |
|
) |
| | |
Outputs to the stdout filehandle.
- Parameters:
-
| string | $string String to output. |
| boolean | $newline If true, the outputs gets an added newline. |
Definition at line 794 of file acl.php.
Enter description here...
Definition at line 374 of file acl.php.
Member Data Documentation
| AclCLI::$dataSource = 'default' |
The documentation for this class was generated from the following file: