コード例 #1
0
ファイル: locallib.php プロジェクト: CTANZ/moodle-mod_equella
 public function __construct($key, $secret)
 {
     $args = array();
     $args['oauth_consumer_key'] = $key;
     $args['oauth_consumer_secret'] = $secret;
     parent::__construct($args);
     $this->sign_secret = $this->consumer_secret . '&';
 }
コード例 #2
0
ファイル: locallib.php プロジェクト: evltuma/moodle
 /**
  * Constructor for dropbox class
  *
  * @param array $args
  */
 function __construct($args)
 {
     parent::__construct($args);
 }
コード例 #3
0
 /**
  * Constructor for omero class
  *
  * @param array $options
  */
 function __construct($options = array())
 {
     parent::__construct($this->get_config($options));
     $this->omero_api = get_config('omero', 'omero_restendpoint');
 }