コード例 #1
0
ファイル: User.php プロジェクト: creat2012/hustoj_official
 public function number_of_new_mail()
 {
     if (is_null($this->_number_of_new_mail)) {
         $this->_number_of_new_mail = Model_Mail::number_of_unread_mail_for_user($this->user_id);
     }
     return $this->_number_of_new_mail;
 }