mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
document, comment module modify, because object in to trash and trash restore to object feature git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8388 201d5d3c-b55e-5fd7-737f-ddc643e51545
103 lines
1.7 KiB
PHP
103 lines
1.7 KiB
PHP
<?php
|
|
|
|
class TrashVO
|
|
{
|
|
var $trashSrl;
|
|
var $title;
|
|
var $originModule;
|
|
var $serializedObject;
|
|
var $description;
|
|
var $ipaddress;
|
|
var $removerSrl;
|
|
var $userId;
|
|
var $nickName;
|
|
var $regdate;
|
|
|
|
function getTrashSrl()
|
|
{
|
|
return $this->trashSrl;
|
|
}
|
|
function setTrashSrl($trashSrl)
|
|
{
|
|
$this->trashSrl = $trashSrl;
|
|
}
|
|
function getTitle()
|
|
{
|
|
if(empty($this->title)) return $lang->untitle;
|
|
return $this->title;
|
|
}
|
|
function setTitle($title)
|
|
{
|
|
$this->title = $title;
|
|
}
|
|
function getOriginModule()
|
|
{
|
|
if(empty($this->originModule)) return 'document';
|
|
return $this->originModule;
|
|
}
|
|
function setOriginModule($originModule)
|
|
{
|
|
$this->originModule = $originModule;
|
|
}
|
|
function getSerializedObject()
|
|
{
|
|
return $this->serializedObject;
|
|
}
|
|
function setSerializedObject($serializedObject)
|
|
{
|
|
$this->serializedObject = $serializedObject;
|
|
}
|
|
function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
}
|
|
function getIpaddress()
|
|
{
|
|
return $this->ipaddress;
|
|
}
|
|
function setIpaddress($ipaddress)
|
|
{
|
|
$this->ipaddress = $ipaddress;
|
|
}
|
|
function getRemoverSrl()
|
|
{
|
|
return $this->removerSrl;
|
|
}
|
|
function setRemoverSrl($removerSrl)
|
|
{
|
|
$this->removerSrl = $removerSrl;
|
|
}
|
|
function getUserId()
|
|
{
|
|
return $this->userId;
|
|
}
|
|
function setUserId($userId)
|
|
{
|
|
$this->userId = $userId;
|
|
}
|
|
function getNickName()
|
|
{
|
|
return $this->nickName;
|
|
}
|
|
function setNickName($nickName)
|
|
{
|
|
$this->nickName = $nickName;
|
|
}
|
|
function getRegdate()
|
|
{
|
|
if(empty($this->regdate)) return date('YmdHis');
|
|
|
|
return $this->regdate;
|
|
}
|
|
function setRegdate($regdate)
|
|
{
|
|
$this->regdate = $regdate;
|
|
}
|
|
}
|
|
|
|
/* End of file Trash.php */
|
|
/* Location: ./modules/trash/model/Trash.php */
|