Ejemplo n.º 1
0
 /**
  * Get instance of itself
  *
  * @return self
  */
 static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Ejemplo n.º 2
0
/**
* Get the instance of the CHOQ_HtmlManager
*
* @return CHOQ_HtmlManager
*/
function html()
{
    return CHOQ_HtmlManager::getInstance();
}