New feature: controller->referer()

Published on and tagged with cakephp  feature

A new feature that will be in the coming release candidate 4 is the function referer() in the controller. Well, that feature is not worldshaking, it is simply a convenience function to get the referer. You can use it in your controller as you would expect:

$this->referer();

2 comments baked

Bake a comment




(for code please use <code>...</code> [no escaping necessary])

© daniel hofstetter. Licensed under a Creative Commons License