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