2009-05-10 10:50:39 +03:00
|
|
|
<?php
|
2008-09-21 09:36:57 +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_CommentVote extends Entity
|
2008-09-21 09:36:57 +03:00
|
|
|
{
|
|
|
|
public function getCommentId() {
|
|
|
|
return $this->_aData['comment_id'];
|
|
|
|
}
|
|
|
|
public function getVoterId() {
|
|
|
|
return $this->_aData['user_voter_id'];
|
|
|
|
}
|
|
|
|
public function getDelta() {
|
|
|
|
return $this->_aData['vote_delta'];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function setCommentId($data) {
|
|
|
|
$this->_aData['comment_id']=$data;
|
|
|
|
}
|
|
|
|
public function setVoterId($data) {
|
|
|
|
$this->_aData['user_voter_id']=$data;
|
|
|
|
}
|
|
|
|
public function setDelta($data) {
|
|
|
|
$this->_aData['vote_delta']=$data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|