mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
8a8d2697d1
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. |
||
---|---|---|
.. | ||
CacheHelper.php | ||
FormHelper.php | ||
HtmlHelper.php | ||
JqueryEngineHelper.php | ||
JsBaseEngineHelper.php | ||
JsHelper.php | ||
MootoolsEngineHelper.php | ||
NumberHelper.php | ||
PaginatorHelper.php | ||
PrototypeEngineHelper.php | ||
RssHelper.php | ||
SessionHelper.php | ||
TextHelper.php | ||
TimeHelper.php |