コード例 #1
0
ファイル: I18n.php プロジェクト: Darathor/archive-my-tweets
 /**
  * @param string $text
  * @param string $LCID
  * @return string
  */
 public function transformLc($text, $LCID)
 {
     return \Change\Stdlib\StringUtils::toLower($text);
 }
コード例 #2
0
ファイル: Tweet.php プロジェクト: Darathor/archive-my-tweets
 protected function finalizeLoad()
 {
     $this->content_id = $this->retweeted ? $this->retweeted_id : $this->id;
     if (!$this->retweeted && $this->user_id == TWITTER_ID) {
         $this->own = !\Change\Stdlib\StringUtils::beginsWith($this->tweet, '@');
         $this->reply = !$this->own;
     } else {
         $this->own = false;
         $this->reply = false;
     }
 }