Closed kemo closed 12 years ago
I updated the docs to reflect the changes too. Another thing to keep in mind is the extremely ugly PSR-0 replace:
$foo = str_replace(' ', '_', ucwords(str_replace('_', ' ', $bar)));
which is also used in Route::matches(), this should be moved to the Inflector to keep things DRY.
Route::matches()
http://dev.kohanaframework.org/issues/4503 http://dev.kohanaframework.org/issues/4504 http://dev.kohanaframework.org/issues/4018 http://dev.kohanaframework.org/issues/3889 http://dev.kohanaframework.org/issues/3714
I cherry-picked applicable commits from my 3.1/develop, so just merge those into 3.2/develop
Thanks for the great pull request!
I updated the docs to reflect the changes too. Another thing to keep in mind is the extremely ugly PSR-0 replace:
$foo = str_replace(' ', '_', ucwords(str_replace('_', ' ', $bar)));
which is also used in
Route::matches()
, this should be moved to the Inflector to keep things DRY.http://dev.kohanaframework.org/issues/4503 http://dev.kohanaframework.org/issues/4504 http://dev.kohanaframework.org/issues/4018 http://dev.kohanaframework.org/issues/3889 http://dev.kohanaframework.org/issues/3714