mark_story
|
17b5351aa3
|
Moving parent constructor call until after $helpers has been modified. Fixes #1443
|
2011-01-14 17:17:53 -05:00 |
|
Jeremy Harris
|
733f4f395e
|
Reordered PaginatorHelper::sort() key and title to be more consistent.
Fixes #1000
|
2011-01-02 18:44:41 -05:00 |
|
mark_story
|
7dd1eea285
|
Updating documentation for paginator helper, and component.
|
2010-12-28 22:26:33 -05:00 |
|
mark_story
|
ab552c22a1
|
Adding a usage sample to Paginator->numbers()
|
2010-12-28 00:09:47 -05:00 |
|
mark_story
|
eb38b8b60c
|
Fixing more boundary issues with first() and last(). When you entered a first/last range a wonky page link would be generated. Tests added.
|
2010-12-27 23:40:10 -05:00 |
|
mark_story
|
85baa180d9
|
Adding usage and expanding doc blocks for PaginatorHelper.
|
2010-12-27 23:30:10 -05:00 |
|
mark_story
|
e003bd6ea9
|
Adding rel attributes for first and last links. These attribute values are part of the html5 spec, and fit with the intention of #370
|
2010-12-27 10:48:38 -05:00 |
|
mark_story
|
fd88d57513
|
Fixing option documentation.
|
2010-12-27 10:40:21 -05:00 |
|
mark_story
|
af608f68ef
|
Updating test cases for the addition of rel attributes to links generated by PaginatorHelper. Also removed rel attributes for disabled elements, as they are probably not link tags. Fixes #370
|
2010-12-27 10:38:30 -05:00 |
|
Dieter Plaetinck
|
65394604a7
|
Give PaginatorHelper's next/prev links the correct 'rel' attribute
It's a good idea to give links such as next/prev the 'rel' attribute.
See the following pages for more information:
http://www.w3.org/TR/html4/struct/links.html#edef-A
http://www.w3.org/TR/html4/types.html#type-links
Signed-off-by: mark_story <mark@mark-story.com>
|
2010-12-27 10:25:19 -05:00 |
|
mark_story
|
edf567b9f9
|
Adding convertKeys to PaginatorHelper::options().
Added a test case.
Fixes #1390
|
2010-12-26 13:24:05 -05:00 |
|
mark_story
|
83d12ce690
|
Removing deprecated $this->params in Helpers, it got missed somehow.
Removing PaginatorHelper::$convertKeys. Its just a regular option now.
Added some documentation.
|
2010-12-26 13:01:20 -05:00 |
|
mark_story
|
ee3017599d
|
Merge branch '2.0' into 2.0-pagination
Conflicts:
cake/libs/controller/components/paginator.php
cake/libs/router.php
|
2010-12-24 14:43:11 -05:00 |
|
mark_story
|
ef77e60cb0
|
Removing @subpackage tags, moving contents of @subpackage into @package.
Removing duplicate cake.cake in @package tags.
Renaming cake.app -> app
|
2010-12-24 14:09:57 -05:00 |
|
mark_story
|
6f62c22cbc
|
Fixing fencepost errors.
Splitting tests up into smaller groups.
|
2010-12-20 20:27:27 -05:00 |
|
mark_story
|
0b90195a52
|
Adding tests for creating next/prev links with querystrings.
Removing code that doesn't seem to do anything, no tests fail when its removed.
|
2010-12-20 13:59:09 -05:00 |
|
mark_story
|
e5588f746c
|
Reversing changes that required a : sigil for named parameters. Also removing ?foo style parameters for querystring args. Having two ways to create querystring args was not sitting well with me.
Tests updated.
|
2010-12-19 23:11:02 -05:00 |
|
mark_story
|
c83a4703a3
|
Implementing ability to change pagination params to use querystring variables.
Tests added.
|
2010-12-19 16:47:22 -05:00 |
|
mark_story
|
cc2d8e2fec
|
Moving limit from the options to the normal paging params. This fixes a few notice errors.
|
2010-12-19 13:15:04 -05:00 |
|
mark_story
|
833bdbcc0b
|
Reformatting paging params.
Removing defaults from the paging params as they are no longer being used.
|
2010-12-19 12:43:29 -05:00 |
|
mark_story
|
ef84d86cf5
|
Reformatting code, and removing merging of defaults key in the helper. It no longer exists.
|
2010-12-19 12:26:28 -05:00 |
|
mark_story
|
44c080d5ad
|
Making all core classes throw CakeException subclasses, this allows developers to catch framework exceptions with one catch.
Adding package specific exceptions.
Replacing generic exceptions in the codebase with CakeException + package exceptions.
|
2010-12-11 19:26:10 -05:00 |
|
mark_story
|
6c2b088706
|
Merge branch '2.0' into 2.0-view
|
2010-11-10 23:41:44 -05:00 |
|
Jeremy Harris
|
060f149a84
|
Added configurable ellipsis on Paginator::numbers(), Paginator::first(), Paginator::last(). Fixes #1086
|
2010-11-07 17:08:01 -08:00 |
|
mark_story
|
1b19ad48b4
|
Adding parameters to helper callbacks, these allow helpers to introspect more on the view/layout being rendered.
Updating tests.
|
2010-11-07 13:23:42 -05:00 |
|
José Lorenzo Rodríguez
|
f63b093d24
|
Merge branch '2.0-request' into 2.0
Still tons of tests failing
Conflicts:
cake/dispatcher.php
cake/libs/controller/components/auth.php
cake/libs/controller/components/request_handler.php
cake/libs/controller/components/security.php
cake/libs/controller/controller.php
cake/libs/router.php
cake/libs/view/helper.php
cake/libs/view/helpers/html.php
cake/libs/view/view.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/controller/components/auth.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
cake/tests/cases/libs/controller/components/security.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helper.test.php
cake/tests/cases/libs/view/helpers/cache.test.php
cake/tests/cases/libs/view/helpers/form.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/cases/libs/view/helpers/paginator.test.php
|
2010-08-27 23:31:41 -04:30 |
|
mark_story
|
fc3379767d
|
Moving methods around. ObjectCollection now normalizes helpers arrays. Plugin helpers now lazy load.
Tests updated.
|
2010-08-10 23:18:38 -04:00 |
|
mark_story
|
087ccabffe
|
Starting to modify Helper constructors.
|
2010-08-10 23:18:37 -04:00 |
|
mark_story
|
7c0cda7ce5
|
Merge branch '2.0' into 2.0-request
Conflicts:
cake/libs/router.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/controller/components/auth.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/js.test.php
|
2010-06-28 23:41:48 -04:00 |
|
mark_story
|
ecf7811b7a
|
Merge branch '2.0' into 2.0-request
Conflicts:
cake/dispatcher.php
cake/libs/controller/components/request_handler.php
cake/libs/view/helpers/form.php
cake/tests/cases/libs/controller/components/request_handler.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/cases/libs/view/helpers/paginator.test.php
|
2010-06-27 23:21:11 -04:00 |
|
mark_story
|
fc79dc6232
|
Merge branch '2.0' into 2.0-phpunit
Conflicts:
cake/tests/cases/console/libs/tasks/controller.test.php
cake/tests/cases/libs/code_coverage_manager.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/lib/code_coverage_manager.php
|
2010-05-30 22:13:09 -04:00 |
|
predominant
|
6a18b2bc1d
|
Merge remote branch 'origin/1.3' into 2.0
Conflicts:
cake/basics.php
cake/console/libs/shell.php
cake/console/libs/tasks/controller.php
cake/libs/controller/components/request_handler.php
cake/libs/model/model.php
cake/libs/model/model_behavior.php
cake/libs/overloadable.php
cake/libs/overloadable_php4.php
cake/libs/overloadable_php5.php
cake/libs/sanitize.php
cake/libs/validation.php
cake/libs/view/helpers/ajax.php
cake/libs/view/helpers/javascript.php
cake/libs/view/pages/home.ctp
cake/tests/cases/console/libs/tasks/controller.test.php
cake/tests/cases/libs/overloadable.test.php
cake/tests/cases/libs/validation.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/test_app/libs/cache/test_app_cache.php
cake/tests/test_app/plugins/test_plugin/libs/cache/test_plugin_cache.php
cake/tests/test_app/plugins/test_plugin/models/test_plugin_auth_user.php
cake/tests/test_app/plugins/test_plugin/models/test_plugin_post.php
|
2010-05-20 12:22:04 +10:00 |
|
mark_story
|
f114d4299d
|
Merge branch '2.0' into 2.0-request
Conflicts:
cake/libs/router.php
cake/tests/cases/libs/router.test.php
|
2010-05-17 21:52:14 -04:00 |
|
mark_story
|
4915645fb1
|
Applying patch from 'Daren Thomas' fixes issues where sorting on virtualFields did not work properly when using aliased sort link keys. Tests added. Fixes #680
|
2010-05-16 23:42:14 -04:00 |
|
Mark Story
|
3983bf318d
|
Updating PaginatorHelper and its test cases to use the request object.
|
2010-05-14 00:32:56 -04:00 |
|
Mark Story
|
353c600cd7
|
Removing unreachable code. Fixes #614
|
2010-05-13 23:38:26 -04:00 |
|
José Lorenzo Rodríguez
|
8c3df122eb
|
Merge commit 'lorenzo/2.0-phpunit' into 2.0-phpunit
Conflicts:
cake/tests/lib/reporter/cake_html_reporter.php
cake/tests/lib/test_manager.php
|
2010-05-12 23:58:56 -04:30 |
|
ADmad
|
3539660cd0
|
Space is now properly added inbetween when 'asc'/'desc' class is appended to user defined css class in PaginatorHelper::sort. Fixes #710
|
2010-05-12 00:42:02 +05:30 |
|
predominant
|
8f880731c6
|
Removing closing PHP tags.
|
2010-05-11 08:27:28 +10:00 |
|
predominant
|
1ec220dac2
|
Removing closing PHP tags.
|
2010-05-11 08:07:49 +10:00 |
|
José Lorenzo Rodríguez
|
765de657e6
|
Fixing PaginatorHelperTest to be compatible with PHPUnit
|
2010-05-09 18:49:04 -04:30 |
|
Mark Story
|
bf566e1aad
|
Fixing failing tests in PaginatorHelper and moving tests related to JsHelper interaction into a separate test method.
|
2010-04-23 21:10:23 -04:00 |
|
predominant
|
c98021dcd8
|
Converted views, router and security classes to new translation shotcut function use.
|
2010-04-16 02:20:15 +10:00 |
|
predominant
|
e4d292bfa4
|
Merge remote branch 'origin/1.3' into 2.0
Conflicts:
cake/console/libs/shell.php
cake/libs/controller/components/acl.php
cake/libs/controller/components/auth.php
cake/libs/controller/components/email.php
cake/libs/controller/components/security.php
cake/libs/controller/components/session.php
cake/libs/view/helper.php
cake/libs/view/helpers/form.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/number.php
cake/libs/view/helpers/session.php
cake/libs/view/helpers/text.php
cake/libs/view/helpers/time.php
cake/libs/view/helpers/xml.php
|
2010-04-06 12:19:34 +10:00 |
|
predominant
|
50a547167b
|
Changing protected methods to specify protected access.
|
2010-04-05 13:21:28 +10:00 |
|
predominant
|
1497ec3910
|
Changed all public methods to specify public access.
|
2010-04-05 13:19:38 +10:00 |
|
sdoney
|
dde52399ca
|
Adding @link tags pointing to cookbook sections
Signed-off-by: Mark Story <mark@mark-story.com>
|
2010-04-04 22:09:49 -04:00 |
|
predominant
|
850ca02bb6
|
Changed all public 'var' declarations to be 'public $var'
|
2010-04-04 17:14:00 +10:00 |
|
predominant
|
329a13fe5f
|
Changed all $_ declared variables to protected.
|
2010-04-04 16:36:12 +10:00 |
|
predominant
|
29dc12dbc2
|
Changed all $__ declared variables to private.
|
2010-04-04 16:33:39 +10:00 |
|