cakephp2-php8/lib/Cake/View
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
..
Elements Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Errors Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Helper Allow chaining in the addCrumb method 2014-03-11 10:37:47 -04:00
Scaffolds Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
Helper.php Collision free approach to resolve the DOM ID issue in a clean way. Fix to generation of ids for multiple checkboxes. Resolves ticket 4064. 2013-12-04 01:30:57 +01:00
HelperCollection.php remove undocumented code and uncessary in_array() checks + cleanup 2013-08-08 03:56:58 +02:00
JsonView.php Updated doc block for JsonView's subDir property 2013-09-17 20:25:32 -04:00
MediaView.php Don't return true from view classes' render() method. 2014-02-06 03:06:00 +05:30
ScaffoldView.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
ThemeView.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
View.php Fix ApiGen errors 2014-02-07 18:29:54 -02:00
ViewBlock.php Fix ApiGen errors 2014-02-07 18:29:54 -02:00
XmlView.php Don't load Helpers in dataviews when _serialize is set. 2013-08-28 15:47:44 -04:00