public function TwitterConf::set in Twitter 6.3
Generic setter
Parameters
$attribute: string attribute name to be set
$value: mixed value
File
- ./
twitter.lib.php, line 53 - Classes to implement the full Twitter API
Class
- TwitterConf
- Class TwitterConfig
Code
public function set($attribute, $value) {
if (array_key_exists($attribute, $this->attributes)) {
$this->attributes[$attribute] = $value;
}
}