/** * Get singletom instance * @return News * @author LamTX */ public static final function getInstance() { //Check instance if (is_null(self::$_instance)) { self::$_instance = new self(); } //Return instance return self::$_instance; }