mark_story
ea113922bd
Removing extra 0 index in request parameters.
...
When using requestAction with the return parameter, there
would be an extra 0 index element that would create incorrect
routes in the requestedAction.
Fixes #2067
2011-10-05 20:55:17 -04:00
Yosuke Basuke Suzuki
fbf4449b9e
Refactoring: clean up the foreach loop.
...
- cleaner code.
- reduce call of array_values and array_unique.
- clear intent of code.
2011-10-05 15:13:19 +09:00
Yosuke Basuke Suzuki
810e2a4ffe
Bypass unnecessary foreach loop when $paths is empty to improve speed.
2011-10-05 15:08:30 +09:00
Majna
681207e327
Fixed doc block comments.
2011-09-28 22:33:46 +02:00
Jose Lorenzo Rodriguez
c45538ab08
Making CakePlugin::loadAll() static as its fellow class methods
2011-09-21 13:31:11 -04:30
ADmad
08026e5828
The 'default' config for Configure class is now auto created on first use if not already created.
2011-09-18 00:06:37 +05:30
mark_story
59e306526f
Adding 'vendors' alias to App
...
- Vendor is the new directory name, and a legacy mapping should exist.
This makes App::path() match App::import() and all other packages.
- Add an alias for plugins -> Plugin. It also was missing the alias,
that matches the new style package names.
Fixes #1972
2011-09-12 23:20:29 -04:00
Mark Story mark@mark-story.com
3a8b344208
Fixing issue where CakeTestCase would erase custom bootstrapped paths in tearDown().
...
Adding App::paths() to simplify getting all the paths App knows about.
Fixes #1934
2011-08-29 22:14:18 -04:00
mark_story
9ff922cbc7
App::objects() should skip directories and files starting with
...
`.`. These generally contain version control or OS metadata, and
not code CakePHP can use.
Fixes #1933
2011-08-28 15:36:19 -04:00
Juan Basso
f5a54d00dd
Changed methods and attributes from private to protected.
2011-08-20 00:43:34 -04:00
Juan Basso
620a65b2fc
Merge branch '2.0' into 2.0-api-doc
...
Conflicts:
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Utility/Debugger.php
2011-08-14 21:12:05 -04:00
mark_story
fdacc9de16
Fixing issues with request stack not being used correctly
...
when there are requestAction requests being performed.
Adding Router::popRequest() to allow manipulation of request stack
so nested requestAction or serial requestAction calls work correctly.
Fixes #1906
2011-08-12 21:21:05 -04:00
mark_story
e4a7c8f3d7
Cleanup of minor issues found with phpmd.
2011-08-06 21:15:31 -04:00
Juan Basso
895c10af7b
Adjusted some types in @param, @return and @var.
2011-07-31 22:57:17 -04:00
Juan Basso
2a50a1ea99
Included @var in API that was missing.
2011-07-31 17:05:20 -04:00
Juan Basso
9bc3e567c1
Removed the @access and @static.
2011-07-30 20:56:48 -04:00
Juan Basso
db80fe27e1
Changed the visibility to protected.
2011-07-30 20:00:19 -04:00
Juan Basso
e4a1816557
Changed the signature of methods to avoid strict messages.
2011-07-30 19:17:20 -04:00
Juan Basso
9e75de2f28
Fixed some API doc in core and utility folders.
2011-07-28 23:33:17 -04:00
Juan Basso
a0ee8b49fe
Fixed some API doc in console.
2011-07-28 22:05:29 -04:00
Jose Lorenzo Rodriguez
cfd2d9e00b
Updating all @package annotations in doc blocks
2011-07-26 01:46:14 -04:30
mark_story
173e043eaf
Fixing more failing tests caused by requestAction
...
and changes in Controller::__construct.
2011-07-22 20:29:44 -04:00
Jose Lorenzo Rodriguez
108505a6a0
Merge branch '2.0-form-helper' into 2.0
2011-07-16 17:32:07 -04:30
Jose Lorenzo Rodriguez
c6c1bf110d
Fixing caching of class loading in App class, this was broken after a recent refactoring
...
Additionally a new property $bootstrapping is added to App, this is set during the bootstrap process to indicate that classes loaded before the caching is initialized should not trigger the cache write routine.
Performance++
2011-07-15 20:44:39 -04:30
Jose Lorenzo Rodriguez
a02db65fd1
Removing persist object feature, it was problematic an incomplete
2011-07-15 18:30:03 -04:30
Jose Lorenzo Rodriguez
8a6d97dfa7
Fixing loading of default options in CakePlugin::loadAll(), fixes #1737
2011-07-15 01:05:53 -04:30
Jose Lorenzo Rodriguez
f8ab1d3c73
Adding App::location() method to be able to obtain the defined path for a class
2011-07-12 00:38:50 -04:30
Leonid Mamchenkov
a1f47a803a
Added paths for Controller/Component/Auth (ticket #1757 )
2011-06-22 16:28:39 +03:00
Juan Basso
1c7d54eacc
Updated the paths from comments.
2011-06-19 20:28:40 -04:00
Maggion Emmanuel
21ba5a856f
Fixing documentation
2011-06-05 02:59:54 -07:00
ADmad
6c8b7fd878
Fixing locales lookup folder name. Closes #1744
2011-06-05 02:46:02 +05:30
mark_story
2650bd4639
Adding missing import that causes a fatal error when a deep
...
value is written to Configure early on.
Fixes #1753
2011-06-02 21:05:10 -04:00
Juan Basso
192812ee7f
Updating the copyright to 2011.
2011-05-30 22:32:43 -04:00
ADmad
4c042ae133
Adding proper visibility keywords for class functions
2011-05-29 03:31:34 +05:30
Ceeram
266058e67a
Moving the sort to also sort plugin objects, sorting in test removed
2011-05-26 19:33:36 +02:00
Ceeram
cea4e4e98e
Sort objects before storing
2011-05-26 19:16:17 +02:00
Ceeram
5f97292648
Change case of Controller::$plugin, fixing missing plugin exceptions, tests updated. Also removing no longer needed camelize() calls
2011-05-26 15:31:40 +02:00
Jose Lorenzo Rodriguez
a05607856a
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-05-23 11:05:33 -04:30
Jose Lorenzo Rodriguez
1e7bf963c3
Removing unused function App::setObjects()
2011-05-23 11:03:11 -04:30
Ceeram
37fcfb9c86
reset objects when using App::build() with App::RESET
2011-05-23 11:34:13 +02:00
Jose Lorenzo Rodriguez
8d52907be7
Merge remote-tracking branch 'origin/2.0' into 2.0
2011-05-22 21:55:07 -04:30
Jose Lorenzo Rodriguez
5b8865a3a7
Making plugin routes load after app routes, closes #1722
2011-05-22 21:50:56 -04:30
mark_story
68482be3f1
Updating path to match the one found in the repository.
2011-05-22 22:04:08 -04:00
mark_story
85752e21c1
Removing undefined variable use.
...
Making the plugin path match the old plugins directory.
2011-05-22 22:04:08 -04:00
AD7six
d63b4df10c
ensure consistent order for loaded function
...
Fixes the test case
2011-05-17 00:01:20 +02:00
AD7six
8e27cf992f
correct a few missing constant replacements
2011-05-15 18:49:38 +02:00
AD7six
0cb70ae3bb
remove CONFIGS constant
2011-05-15 18:34:52 +02:00
AD7six
afa8f6b441
remove LIBS constant
...
libs always means the Cake lib - so use the CAKE constant
2011-05-15 18:29:52 +02:00
Jose Lorenzo Rodriguez
6713bb154e
Making themes also CamelCased
2011-05-15 00:09:32 -04:30
Jose Lorenzo Rodriguez
eea981940e
Replacing config string in favor of Config
2011-05-13 03:36:45 -04:30