Class Support_TagHelper

Description

Helper functions for creating HTML tags

Located in /support/lib/Support/TagHelper.php (line 9)


	
			
Method Summary
 static string content_tag (string $name, [string $content = ''], [array $attrs = array()])
 static string tag (string $name, [array $attrs = array()])
Methods
static content_tag (line 43)

Output a content tag

  • access: public
string content_tag (string $name, [string $content = ''], [array $attrs = array()])
  • string $name: The tag name
  • string $content: The tag contents
  • array $attrs: The tag attributes
static tag (line 25)

Output a non-content tag

  • access: public
string tag (string $name, [array $attrs = array()])
  • string $name: The tag name
  • array $attrs: The tag attributes

Documentation generated on Wed, 25 Apr 2012 09:46:45 -0700 by phpDocumentor 1.4.3