you really should use the right IDE. a good PHP Editor will make it
easy for you to look it up.
i - for example - use the phpdesigner 7 which is able to include the
whole core libraries
if i move my mouse over the parameters of $html->link() i am able to
see its parameter names + documention on it.
and if i right-click on the function i will automatically jump into
the corresponding core file to the correct line of code.
very very handy - and there is nothing faster to find out what a core
function does then just looking it up in the code.
On 29 Dez., 12:00, Lorenzo Bettini <bett...@dsi.unifi.it> wrote:
> Hey thanks, that's exactly what I needed!
>
> I had searched for it in the HtmlHelper but I hadn't found it since it's
> an inherited method :)
>
> cheers
> Lorenzo
>
>
>
>
>
> John Andersen wrote:
> > Use the html helpers url method to create the full url for the html
> > helpers link method, as:
>
> > echo $html->link('TEST LINK', $html->url('/advances/forward', true));
>
> > Enjoy,
> > John
>
> > On Dec 29, 11:07 am, Lorenzo Bettini <bett...@dsi.unifi.it> wrote:
> >> Hi
>
> >> with the Html and Form helper it's already easy to create absolute links
> >> (starting from the root of the site), but I'd need to create links that
> >> also include the address of the site (starting with http://).
>
> >> This is needed since the output of the cakephp site should also be
> >> included in other sites (with different addresses).
>
> >> Is there an automatic way to do this? Or, I guess, I should set the
> >> site name in some configuration file myself?
>
> >> thanks in advance
> >> Lorenzo
>
> --
> Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
> HOME:http://www.lorenzobettini.itMUSIC:http://www.purplesucker.com
> BLOGS:http://tronprog.blogspot.com http://longlivemusic.blogspot.com
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
No comments:
Post a Comment