Yeah, i extended both $this->url() and $this->baseUrl to include serverUrl(), because i have a lot of e-mail messages with links, and i need the full URL.
There is any advantage in using the partial URL over the full URL? ::: Diego Potapczuk On Tue, Jan 12, 2010 at 3:02 PM, scs <[email protected]> wrote: > You can use/add $this->serverUrl(); to print the > "http://www.server.com" part of the url. > > scs > > > > > On 12 Jan 2010, at 17:29, Diego Potapczuk <[email protected]> wrote: > > > > Hi, > > > > When i use the $this->url() in the view, it don“t include the server url, > is > > this the correct behavior? > > > > > > Example: > > <?php echo $this->url(array('module' => 'admin', > > 'controller' => 'info', > > 'action' => 'show', > > 'id' => > $this->var['id']), > > 'default', true); > > ?> > > // /admin/info/show/id/4 (what i get) > > > > // /http://www.server.com/admin/info/show/id/4 (what i would like to > get) > > > > > > Thanks > > > > ::: Diego Potapczuk > > >
