1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00
ifhub.club/classes/modules/comment/entity/CommentVote.entity.class.php

41 lines
1 KiB
PHP
Raw Normal View History

<?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;
}
}
?>