Inheritance diagram for DbConfigTask:

Public Member Functions | |
| __interactive () | |
| __verify ($config) | |
| bake ($configs) | |
| execute () | |
| initialize () | |
Public Attributes | |
| $__defaultConfig | |
| $path = null | |
Definition at line 36 of file db_config.php.
| DbConfigTask::__interactive | ( | ) |
Interactive interface
private
Definition at line 80 of file db_config.php.
References $config, Shell::$name, __verify(), a(), bake(), config(), Configuration, Shell::hr(), Shell::in(), low(), name(), Shell::out(), start(), and underscore().
Referenced by execute().
| DbConfigTask::__verify | ( | $ | config | ) |
Output verification message and bake if it looks good
Definition at line 208 of file db_config.php.
References $config, Shell::hr(), Shell::in(), and Shell::out().
Referenced by __interactive().
| DbConfigTask::bake | ( | $ | configs | ) |
Assembles and writes database.php
| array | $configs Configuration settings to use |
Definition at line 255 of file db_config.php.
References $config, $filename, $out, Shell::createFile(), Shell::err(), and name().
Referenced by __interactive().
| DbConfigTask::execute | ( | ) |
Execution method always used for tasks
public
Definition at line 69 of file db_config.php.
References __interactive(), and Object::_stop().
| DbConfigTask::initialize | ( | ) |
| DbConfigTask::$__defaultConfig |
Initial value:
array(
'name' => 'default', 'driver'=> 'mysql', 'persistent'=> 'false', 'host'=> 'localhost',
'login'=> 'root', 'password'=> 'password', 'database'=> 'project_name',
'schema'=> null, 'prefix'=> null, 'encoding' => null, 'port' => null
)
Definition at line 50 of file db_config.php.
| DbConfigTask::$path = null |
Definition at line 43 of file db_config.php.
1.4.7