mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-18 06:14:26 +03:00
41 lines
1 KiB
PHP
41 lines
1 KiB
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 TopicEntity_TopicQuestionVote extends Entity
|
|
{
|
|
public function getTopicId() {
|
|
return $this->_aData['topic_id'];
|
|
}
|
|
public function getVoterId() {
|
|
return $this->_aData['user_voter_id'];
|
|
}
|
|
public function getAnswer() {
|
|
return $this->_aData['answer'];
|
|
}
|
|
|
|
|
|
public function setTopicId($data) {
|
|
$this->_aData['topic_id']=$data;
|
|
}
|
|
public function setVoterId($data) {
|
|
$this->_aData['user_voter_id']=$data;
|
|
}
|
|
public function setAnswer($data) {
|
|
$this->_aData['answer']=$data;
|
|
}
|
|
}
|
|
?>
|