Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('SYSPATH') OR die('No direct access allowed.');
- class Diigo_Client_Options implements Diigo_Client_Options_Interface
- {
- private static $instance = null;
- private $user;
- private $pass;
- private function __construct()
- {
- }
- private function __clone()
- {
- }
- public static function instance()
- {
- if (self::$instance == null)
- {
- self::$instance = new self();
- }
- return self::$instance;
- }
- public function setUser($user)
- {
- $this->user = $user;
- return $this;
- }
- public function setPass($pass)
- {
- $this->pass = $pass;
- return $this;
- }
- public function getUser()
- {
- return $this->user;
- }
- public function getPass(){
- return $this->pass;
- }
- }
Add Comment
Please, Sign In to add comment