/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class PromotionManager { static $sharedInstance; static function sharedManager () { if(!self::$sharedInstance) { self::$sharedInstance = new self(); } return self::$sharedInstance; } function __construct() { } }