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));
Please login to continue.