mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
42 lines
1 KiB
PHP
42 lines
1 KiB
PHP
<?php
|
|
/*-------------------------------------------------------
|
|
*
|
|
* 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
|
|
*
|
|
---------------------------------------------------------
|
|
*/
|
|
|
|
class ModuleUser_EntityUserVote extends Entity
|
|
{
|
|
public function getUserId() {
|
|
return $this->_aData['user_id'];
|
|
}
|
|
public function getVoterId() {
|
|
return $this->_aData['user_voter_id'];
|
|
}
|
|
public function getDelta() {
|
|
return $this->_aData['vote_delta'];
|
|
}
|
|
|
|
|
|
|
|
public function setUserId($data) {
|
|
$this->_aData['user_id']=$data;
|
|
}
|
|
public function setVoterId($data) {
|
|
$this->_aData['user_voter_id']=$data;
|
|
}
|
|
public function setDelta($data) {
|
|
$this->_aData['vote_delta']=$data;
|
|
}
|
|
}
|
|
?>
|