2009-05-10 10:50:39 +03:00
|
|
|
<?php
|
2008-11-30 09:24:46 +02: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
|
|
|
|
*
|
|
|
|
---------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2010-05-27 18:16:20 +03:00
|
|
|
class ModuleUser_EntityReminder extends Entity
|
2008-11-30 09:24:46 +02:00
|
|
|
{
|
|
|
|
public function getCode() {
|
2012-04-21 11:00:15 +03:00
|
|
|
return $this->_getDataOne('reminder_code');
|
2008-11-30 09:24:46 +02:00
|
|
|
}
|
|
|
|
public function getUserId() {
|
2012-04-21 11:00:15 +03:00
|
|
|
return $this->_getDataOne('user_id');
|
2008-11-30 09:24:46 +02:00
|
|
|
}
|
|
|
|
public function getDateAdd() {
|
2012-04-21 11:00:15 +03:00
|
|
|
return $this->_getDataOne('reminder_date_add');
|
2008-11-30 09:24:46 +02:00
|
|
|
}
|
|
|
|
public function getDateUsed() {
|
2012-04-21 11:00:15 +03:00
|
|
|
return $this->_getDataOne('reminder_date_used');
|
2008-11-30 09:24:46 +02:00
|
|
|
}
|
|
|
|
public function getDateExpire() {
|
2012-04-21 11:00:15 +03:00
|
|
|
return $this->_getDataOne('reminder_date_expire');
|
2008-11-30 09:24:46 +02:00
|
|
|
}
|
|
|
|
public function getIsUsed() {
|
2012-04-21 11:00:15 +03:00
|
|
|
return $this->_getDataOne('reminde_is_used');
|
2008-11-30 09:24:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public function setCode($data) {
|
|
|
|
$this->_aData['reminder_code']=$data;
|
|
|
|
}
|
|
|
|
public function setUserId($data) {
|
|
|
|
$this->_aData['user_id']=$data;
|
|
|
|
}
|
|
|
|
public function setDateAdd($data) {
|
|
|
|
$this->_aData['reminder_date_add']=$data;
|
|
|
|
}
|
|
|
|
public function setDateUsed($data) {
|
|
|
|
$this->_aData['reminder_date_used']=$data;
|
|
|
|
}
|
|
|
|
public function setDateExpire($data) {
|
|
|
|
$this->_aData['reminder_date_expire']=$data;
|
|
|
|
}
|
|
|
|
public function setIsUsed($data) {
|
|
|
|
$this->_aData['reminde_is_used']=$data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|