/** * Singleton * @static */ public static function get_instance() { if (!isset(self::$_instance)) { self::$_instance = new CPTP(); } return self::$_instance; }