Exemplo n.º 1
0
 /**
  * The singleton access method
  *
  * @since 1.4
  *
  * @return ShoppAdminPages The singleton instance
  **/
 public static function object()
 {
     if (!self::$object instanceof self) {
         self::$object = new self();
     }
     return self::$object;
 }
Exemplo n.º 2
0
function ShoppAdminPages()
{
    return ShoppAdminPages::object();
}