mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
#19745697 trash module makem
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
This commit is contained in:
parent
9e04e84a65
commit
8f3df45a2a
30 changed files with 949 additions and 34 deletions
103
modules/trash/model/TrashVO.php
Normal file
103
modules/trash/model/TrashVO.php
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
<?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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue