You are here

public function TwitterConf::get in Twitter 6.3

Generic getter

Parameters

$attribute: string attribute name to return

Return value

mixed value or NULL

File

./twitter.lib.php, line 40
Classes to implement the full Twitter API

Class

TwitterConf
Class TwitterConfig

Code

public function get($attribute) {
  if (array_key_exists($attribute, $this->attributes)) {
    return $this->attributes[$attribute];
  }
}