public function InstagramConf::set in Drupagram 6
Same name and namespace in other branches
- 7 drupagram.lib.php \InstagramConf::set()
Generic setter
Parameters
$attribute: string attribute name to be set
$value: mixed value
File
- ./
drupagram.lib.php, line 56 - Classes to implement the full Instagram API
Class
- InstagramConf
- Class InstagramConf
Code
public function set($attribute, $value) {
if (array_key_exists($attribute, $this->attributes)) {
$this->attributes[$attribute] = $value;
}
}