/** * Constructor - set version = 1 * * @author Maxime Picaud * @since 21 août 2010 */ public function __construct($key, $secret, $token = null, $config = array()) { $this->version = 1; $this->init($config, 'request_token_url'); $this->init($config, 'consumer'); $this->init($config, 'request_parameters', 'add'); parent::__construct($key, $secret, $token, $config); }
/** * Constructor - set version to 2 * * @author Maxime Picaud * @since 21 août 2010 */ public function __construct($key, $secret, $token = null, $config = array()) { $this->version = 2; parent::__construct($key, $secret, $token, $config); }