コード例 #1
0
ファイル: Object.class.php プロジェクト: evilgeny/bob
 public function status()
 {
     if ($this->id()) {
         return $this->_mapper->userStatus($this->id()) ? 'online' : 'offline';
     }
 }