Monday, January 2, 2012

Re: How access to $this->webroot controller's variable from a model?

use Helper::url('/')

2012/1/2 byqsri <marco.rizzetto@gmail.com>
Hi
I would ask how can I access to "$this->webroot" controller's variable
from a model?
Many Thanks
Marco

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php



--
Grato,

Laerte Mateus Rodrigues
Mestrando em informática (PUC Minas)

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: