Ejemplo n.º 1
0
 /**
  * making self object for singleton method
  * 
  */
 public static final function getInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
         self::getInstance()->getDocument();
         self::getInstance()->getDocument()->helix = self::getInstance();
     }
     return self::$_instance;
 }