コード例 #1
0
ファイル: Html.php プロジェクト: phpf/micro
 /**
  * Returns an HTML tag with given content.
  * 
  * @param string $tag The HTML tag (default: 'div')
  * @param array $attributes The as an assoc. array. (optional)
  * @param string $content The content to place inside the tag.
  * @return string The HTML tag wrapped around the given content.
  */
 public static function tag($tag, $attributes = array(), $content = '')
 {
     return \Phpf\Html\Element::tag($tag, $attributes, $content);
 }