On this page
Class BakeTask
Base class for Bake Tasks.
- AppShell
- BakeTask 
Direct Subclasses
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/Task/BakeTask.php
Properties summary
- 
    $connectionpublicThe db connection being used for bakingstring
- 
    $interactivepublicFlag for interactive modeboolean
- 
    $pluginpublicName of pluginstring
Method Summary
- 
    execute() publicBase execute method parses some parameters and sets some properties on the bake tasks. call when overriding execute() 
- 
    getPath() publicGets the path for output. Checks the plugin property and returns the correct path. 
- 
    startup() publicDisable 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–2017 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.10/class-BakeTask.html