[ Index ] |
|
Code source de CakePHP 1.1.13.4450 |
[Code source] [Imprimer] [Statistiques]
Short description for file. Long description for file
Copyright: | Copyright 2005-2007, Cake Software Foundation, Inc. |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
Version: | $Revision: 4409 $ |
Poids: | 817 lignes (25 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers cake/config/paths.php cake/basics.php |
AclCLI:: (25 méthodes):
AclCLI()
__construct()
create()
delete()
setParent()
getPath()
grant()
deny()
inherit()
view()
initdb()
upgradedb()
help()
displayError()
checkArgNumber()
checkNodeType()
nodeExists()
__dataVars()
doDbConfig()
bakeDbConfig()
getInput()
stdout()
stderr()
hr()
__createFile()
AclCLI($command, $args) X-Ref |
Enter description here... param: unknown_type $command param: unknown_type $args return: AclCLI |
__construct($command, $args) X-Ref |
Enter description here... param: unknown_type $command param: unknown_type $args |
create() X-Ref |
Enter description here... |
delete() X-Ref |
Enter description here... |
setParent() X-Ref |
Enter description here... |
getPath() X-Ref |
Enter description here... |
grant() X-Ref |
Enter description here... |
deny() X-Ref |
Enter description here... |
inherit() X-Ref |
Enter description here... |
view() X-Ref |
Enter description here... |
initdb() X-Ref |
Enter description here... |
upgradedb() X-Ref |
Enter description here... |
help() X-Ref |
Enter description here... |
displayError($title, $msg) X-Ref |
Enter description here... param: unknown_type $title param: unknown_type $msg |
checkArgNumber($expectedNum, $command) X-Ref |
Enter description here... param: unknown_type $expectedNum param: unknown_type $command |
checkNodeType() X-Ref |
Enter description here... |
nodeExists($type, $id) X-Ref |
Enter description here... param: unknown_type $type param: unknown_type $id return: unknown |
__dataVars($type = null) X-Ref |
Enter description here... param: unknown_type $type return: unknown |
doDbConfig() X-Ref |
Database configuration setup. |
bakeDbConfig( $driver, $connect, $host, $login, $password, $database, $prefix) X-Ref |
Creates a database configuration file for Bake. param: string $host param: string $login param: string $password param: string $database |
getInput($prompt, $options = null, $default = null) X-Ref |
Prompts the user for input, and returns it. param: string $prompt Prompt text. param: mixed $options Array or string of options. param: string $default Default input value. return: Either the default value, or the user-provided input. |
stdout($string, $newline = true) X-Ref |
Outputs to the stdout filehandle. param: string $string String to output. param: boolean $newline If true, the outputs gets an added newline. |
stderr($string) X-Ref |
Outputs to the stderr filehandle. param: string $string Error text to output. |
hr() X-Ref |
Outputs a series of minus characters to the standard output, acts as a visual separator. |
__createFile($path, $contents) X-Ref |
Creates a file at given path. param: string $path Where to put the file. param: string $contents Content to put in the file. return: Success |
Généré le : Sun Feb 25 19:27:47 2007 | par Balluche grâce à PHPXref 0.7 |