Is this acceptable to be placed in a view?

Kohana (and probably other frameworks) allow you get a route and echo its URL, creating routes that are easy to maintain.\[code\]<a href="http://stackoverflow.com/questions/3801202/<?php echo url::base() . Route::get('contact'); ?>">Contact</a>\[/code\]Is this OK to have in the view, or should I assign it to a variable, and then pass the view the variable?Thanks
 
Back
Top