I am mikek’s Blog

I R Developer

where am i?

Occasionally i need to capture the url of the a current view page in cakephp which i would do by

echo $this->params['url']['url']

A bit of googling today, now gives me a nicer way to do it.

echo $this->here;

sweet eh?

Filed under: development , , ,

One Response

  1. Andy Gale says:

    Yes, that’s pretty cool.

Leave a Reply

mikek on twitter