Commit graph

18 commits

Author SHA1 Message Date
phpnut
172f9817cb Fixing console scripts.
Correcting errors when using bake shell to create views.
Corrected errors when interactively creating controllers and views
Corrected issue in ProjectTask::cakeAdmin() with admin route not writing the admin define in core.php
Moved ControllerTask::getAdmin() to Shell::getAdmin()
Removed define setting CAKE_ADMIN to null which would cause issues with admin methods and views
Corrected missing ?>

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:38:46 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
chartjes
9e16b0a404 Added "Model columns" command to get a list of columns and column type for a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5225 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 01:49:00 +00:00
chartjes
84feacd6b2 Added in more verbose output of Model->save() functionality
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5220 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 21:11:34 +00:00
chartjes
37fd7e41ef Added in Model->save() method along with help text explaining how to use it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5219 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 21:07:39 +00:00
chartjes
ff40f65fab Removed "protected" declaration from a function...PHP 5 only
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5216 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 18:08:52 +00:00
chartjes
2680afb990 Added in dynamic unbinding, verification of existing models, verification of existing associations, added in help text and reorganized code in swich-case block now that I figured out you could put preg_matches in a case statement :)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5215 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 16:06:12 +00:00
chartjes
06e728eebb Added message when no result set is found
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5187 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 21:45:39 +00:00
chartjes
aef4b1b21b Made changes to properly parse output of find() and findAll()...but I don't like how it's doing it, have to find a more elegant solution later
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 19:52:30 +00:00
chartjes
e965ac1df0 Added code to handle outputting associations like hasMany properly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5183 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:38:40 +00:00
chartjes
89c2ce23b0 Using $this->hr() instead of $this->out('------------') as per gwoo's request
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 16:34:07 +00:00
gwoo
1968312773 updating interactive console for the grumpy guy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5171 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 16:17:30 +00:00
chartjes
cfe54f4049 Added missing parameter to dynamic bind call
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5170 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 15:35:33 +00:00
gwoo
01d59c7a70 updating interactive console for the grumpy guy
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5169 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 15:26:50 +00:00
chartjes
20c0a87876 Added in initial functionality for for returning result sets and providing help information
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5162 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 03:03:15 +00:00
phpnut
586fbc9dea Correcting doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5086 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:14:41 +00:00
gwoo
846c665497 updating shells for new conventions, better handling of paths, more help
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5058 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 21:18:07 +00:00
phpnut
900d180ec9 Restructuring console directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5015 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-04 20:09:34 +00:00
Renamed from cake/console/console.php (Browse further)