cakephp2-php8/lib/Cake/View/Helper
Mark Oberemk 8a8d2697d1 Allow chaining in the addCrumb method
For convenience I think it might be valuable to allow addCrumb (and possibly other similar functions) to return $this to permit chained calls such as this:

    $this->Html->addCrumb('Admin', '/admin')->addCrumb('Blogs', '/admin/users')->addCrumb('Add');

as opposed to the considerably more verbose version that needs to be used now:

    $this->Html->addCrumb('Admin', '/admin');
    $this->Html->addCrumb('Blogs', '/admin/users');
    $this->Html->addCrumb('Add');

I'm not sure if this violates some API conventions for helpers but it does seem rather more convenient to work with to me.
2014-03-11 10:37:47 -04:00
..
CacheHelper.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
FormHelper.php Fix postLink() & postButton() with nested data. 2014-02-24 21:17:31 -05:00
HtmlHelper.php Allow chaining in the addCrumb method 2014-03-11 10:37:47 -04:00
JqueryEngineHelper.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
JsBaseEngineHelper.php Correct 'an URL' to 'a URL' in docblocks 2013-10-22 00:09:34 -04:00
JsHelper.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
MootoolsEngineHelper.php Updated JavaScript casing and JsHelper references in doc blocks 2013-09-25 22:46:38 -04:00
NumberHelper.php Fix ApiGen errors 2014-02-07 18:29:54 -02:00
PaginatorHelper.php Improves next() and prev() documentation 2014-01-26 11:38:11 +01:00
PrototypeEngineHelper.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
RssHelper.php unify null checks - avoid method call in favor of strict check 2013-08-16 20:12:49 +02:00
SessionHelper.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
TextHelper.php Fix ApiGen errors 2014-02-07 18:29:54 -02:00
TimeHelper.php Documentation correction 2014-03-10 14:05:03 +05:30