HTML5 class

access public
package kocuj_sitemap

 Methods

Get singleton instance

getInstance() : object
Static
access public

Returns

objectSingleton instance

Get HTML tag begin

getTagBegin(string $tag, string $id = '', string $class = '', string $additional = '') : string
access public

Parameters

$tag

string

HTML tag name

$id

string

HTML tag id - default: empty

$class

string

HTML tag class - default: empty

$additional

string

Additional HTML tag parameters - default: empty

Returns

stringHTML tag

Get HTML tag end

getTagEnd(string $tag) : string
access public

Parameters

$tag

string

HTML tag name

Returns

stringHTML tag

Disable cloning of object

__clone() : void
access private

Constructor

__construct() : void
access private

 Properties

 

Singleton instance

$instance : object

Default

NULL
Static
access private