/** * Return an instance of the Help class * * Use this for generating or retrieving instance of Help * objects so that if the Help class needs to be abstracted * in the future, this common interface can still be used * * @return object New instance of Help class if one doesnt * already exist. Otherwise return the current instance */ static function getInstance() { if (empty(self::$instance)) { self::$instance = new Help(); } return self::$instance; }