class TwitterStatus in Twitter 7.3
Same name and namespace in other branches
- 6.5 twitter.lib.php \TwitterStatus
- 6.3 twitter.lib.php \TwitterStatus
- 7.6 twitter.module \TwitterStatus
- 7.5 twitter.lib.php \TwitterStatus
Class for containing an individual twitter status.
Hierarchy
- class \TwitterStatus
Expanded class hierarchy of TwitterStatus
File
- ./
twitter.lib.php, line 378 - Classes to implement the full Twitter API
View source
class TwitterStatus {
/**
* @var created_at
*/
public $created_at;
public $id;
public $text;
public $source;
public $truncated;
public $favorited;
public $in_reply_to_status_id;
public $in_reply_to_user_id;
public $in_reply_to_screen_name;
public $user;
/**
* Constructor for TwitterStatus
*/
public function __construct($values = array()) {
$this->created_at = $values['created_at'];
$this->id = $values['id'];
$this->text = $values['text'];
$this->source = $values['source'];
$this->truncated = $values['truncated'];
$this->favorited = $values['favorited'];
$this->in_reply_to_status_id = $values['in_reply_to_status_id'];
$this->in_reply_to_user_id = $values['in_reply_to_user_id'];
$this->in_reply_to_screen_name = $values['in_reply_to_screen_name'];
if (isset($values['user'])) {
$this->user = new TwitterUser($values['user']);
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | property | ||
TwitterStatus:: |
public | function | Constructor for TwitterStatus |