Tag::linkTo

public static string linkTo (array | string $parameters, [string $text], [boolean $local])

Builds a HTML A tag using framework conventions

echo Phalcon\Tag::linkTo("signup/register", "Register Here!");
 echo Phalcon\Tag::linkTo(array("signup/register", "Register Here!"));
 echo Phalcon\Tag::linkTo(array("signup/register", "Register Here!", "class" => "btn-primary"));
 echo Phalcon\Tag::linkTo("http://phalconphp.com/", "Phalcon", FALSE);
 echo Phalcon\Tag::linkTo(array("http://phalconphp.com/", "Phalcon Home", FALSE));
 echo Phalcon\Tag::linkTo(array("http://phalconphp.com/", "Phalcon Home", "local" =>FALSE));
doc_Phalcon
2016-10-16 09:56:53
Comments
Leave a Comment

Please login to continue.