Exemple #1
0
 static function hashtag_prefix($hashtag, $prefix = '#')
 {
     if (AKTT::substr($hashtag, 0, 1) != '#') {
         $hashtag = '#' . $hashtag;
     }
     return $hashtag;
 }
 /**
  * Is this a retweet? (This includes both native and non-native retweets.)
  *
  * @return bool
  */
 function is_retweet()
 {
     return (bool) (AKTT::substr($this->content(), 0, 2) == 'RT' || $this->is_native_retweet());
 }
 /**
  * Is this a retweet?
  *
  * @return bool
  */
 function is_retweet()
 {
     return (bool) (AKTT::substr($this->content(), 0, 2) == 'RT' || !empty($this->data->retweeted_status));
 }