public function testA() { $a = Html::a('http://pagon.github.com', 'Pagon'); $this->assertEquals('<a href="http://pagon.github.com">Pagon</a>', $a); }
/** * Create link * * @param string $src * @param string $text * @param array $attributes * @return string */ function a($src, $text, array $attributes = array()) { return Html::a($src, $text, $attributes); }