/** * 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; }
/** * The ShoppPages controller instance * * @since 1.3 * * @return ShoppPages The running ShoppPages controller **/ function ShoppPages() { return ShoppPages::object(); }