示例#1
0
 /**
  * Singleton access method
  *
  * @author Jonathan Davis
  * @since 1.3
  *
  * @return ShoppPages The running ShoppPages object
  **/
 public static function object()
 {
     if (!self::$object instanceof self) {
         self::$object = new self();
     }
     return self::$object;
 }
示例#2
0
/**
 * The ShoppPages controller instance
 *
 * @since 1.3
 *
 * @return ShoppPages The running ShoppPages controller
 **/
function ShoppPages()
{
    return ShoppPages::object();
}