Class BakeTask
Base class for Bake Tasks.
- AppShell
- BakeTask
Direct Subclasses
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/Task/BakeTask.php
Properties summary
-
$connection
publicThe db connection being used for bakingstring
-
$interactive
publicFlag for interactive modeboolean
-
$plugin
publicName of pluginstring
Method Summary
- execute() public
Base execute method parses some parameters and sets some properties on the bake tasks. call when overriding execute()
- getPath() public
Gets the path for output. Checks the plugin property and returns the correct path.
- startup() public
Disable caching and enable debug for baking. This forces the most current database schema to be used.
Method Detail
execute()source public
execute( )
Base execute method parses some parameters and sets some properties on the bake tasks. call when overriding execute()
getPath()source public
getPath( )
Gets the path for output. Checks the plugin property and returns the correct path.
Returns
stringPath to output.
startup()source public
startup( )
Disable caching and enable debug for baking. This forces the most current database schema to be used.
Properties detail
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.9/class-BakeTask.html