2009-05-10 10:50:39 +03:00
|
|
|
<?php
|
2008-10-10 20:23:00 +03:00
|
|
|
/*-------------------------------------------------------
|
|
|
|
*
|
|
|
|
* LiveStreet Engine Social Networking
|
|
|
|
* Copyright © 2008 Mzhelskiy Maxim
|
|
|
|
*
|
|
|
|
*--------------------------------------------------------
|
|
|
|
*
|
|
|
|
* Official site: www.livestreet.ru
|
|
|
|
* Contact e-mail: rus.engine@gmail.com
|
|
|
|
*
|
|
|
|
* GNU General Public License, version 2:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
*
|
|
|
|
---------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2009-06-23 20:06:19 +03:00
|
|
|
class CommentEntity_CommentOnline extends Entity
|
2008-10-30 08:12:44 +02:00
|
|
|
{
|
2009-06-23 20:06:19 +03:00
|
|
|
public function getTargetId() {
|
|
|
|
return $this->_aData['target_id'];
|
|
|
|
}
|
|
|
|
public function getTargetType() {
|
|
|
|
return $this->_aData['target_type'];
|
2008-10-10 20:23:00 +03:00
|
|
|
}
|
|
|
|
public function getCommentId() {
|
|
|
|
return $this->_aData['comment_id'];
|
|
|
|
}
|
|
|
|
|
2008-10-30 08:12:44 +02:00
|
|
|
|
2009-06-23 20:06:19 +03:00
|
|
|
public function setTargetId($data) {
|
|
|
|
$this->_aData['target_id']=$data;
|
|
|
|
}
|
|
|
|
public function setTargetType($data) {
|
|
|
|
$this->_aData['target_type']=$data;
|
2008-10-10 20:23:00 +03:00
|
|
|
}
|
|
|
|
public function setCommentId($data) {
|
|
|
|
$this->_aData['comment_id']=$data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|