class DisqusAPI in Drupal Most Popular 7
Hierarchy
- class \DisqusResource
- class \DisqusAPI
Expanded class hierarchy of DisqusAPI
File
- modules/
mostpopular_disqus/ disqusapi/ disqusapi.php, line 123
View source
class DisqusAPI extends DisqusResource {
public $formats = array(
'json' => 'dsq_json_decode',
);
public function __construct($key = null, $format = 'json', $version = '3.0') {
$this->key = $key;
$this->format = $format;
$this->version = $version;
parent::__construct($this);
}
public function __invoke() {
throw new Exception('You cannot call the API without a resource.');
}
public function setKey($key) {
$this->key = $key;
}
public function setFormat($format) {
$this->format = $format;
}
public function setVersion($version) {
$this->version = $version;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DisqusAPI:: |
public | property | ||
DisqusAPI:: |
public | function | ||
DisqusAPI:: |
public | function | ||
DisqusAPI:: |
public | function | ||
DisqusAPI:: |
public | function |
Overrides DisqusResource:: |
|
DisqusAPI:: |
public | function | ||
DisqusResource:: |
public | function | ||
DisqusResource:: |
public | function |