XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
TrashVO.php
Go to the documentation of this file.
1 <?php
2 
3 class TrashVO
4 {
5  var $trashSrl;
6  var $title;
13  var $userId;
14  var $nickName;
15  var $regdate;
16 
17  function getTrashSrl()
18  {
19  return $this->trashSrl;
20  }
22  {
23  $this->trashSrl = $trashSrl;
24  }
25  function getTitle()
26  {
27  if(empty($this->title)) return $lang->untitle;
28  return htmlspecialchars($this->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
29  }
30  function setTitle($title)
31  {
32  $this->title = $title;
33  }
34  function getOriginModule()
35  {
36  if(empty($this->originModule)) return 'document';
37  return $this->originModule;
38  }
40  {
41  $this->originModule = $originModule;
42  }
44  {
46  }
48  {
49  $this->serializedObject = $serializedObject;
50  }
52  {
54  }
56  {
57  $this->unserializedObject = unserialize($serializedObject);
58  }
59  function getDescription()
60  {
61  return htmlspecialchars($this->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
62  }
64  {
65  $this->description = $description;
66  }
67  function getIpaddress()
68  {
69  return $this->ipaddress;
70  }
72  {
73  $this->ipaddress = $ipaddress;
74  }
75  function getRemoverSrl()
76  {
77  return $this->removerSrl;
78  }
80  {
81  $this->removerSrl = $removerSrl;
82  }
83  function getUserId()
84  {
85  return $this->userId;
86  }
87  function setUserId($userId)
88  {
89  $this->userId = $userId;
90  }
91  function getNickName()
92  {
93  return htmlspecialchars($this->nickName, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
94  }
96  {
97  $this->nickName = $nickName;
98  }
99  function getRegdate()
100  {
101  if(empty($this->regdate)) return date('YmdHis');
102 
103  return $this->regdate;
104  }
106  {
107  $this->regdate = $regdate;
108  }
109 }
110 
111 /* End of file Trash.php */
112 /* Location: ./modules/trash/model/Trash.php */
$ipaddress
Definition: TrashVO.php:11
getRegdate()
Definition: TrashVO.php:99
getDescription()
Definition: TrashVO.php:59
$title
Definition: TrashVO.php:6
$args title
Definition: ko.install.php:189
$nickName
Definition: TrashVO.php:14
setIpaddress($ipaddress)
Definition: TrashVO.php:71
setTrashSrl($trashSrl)
Definition: TrashVO.php:21
getRemoverSrl()
Definition: TrashVO.php:75
getTitle()
Definition: TrashVO.php:25
$removerSrl
Definition: TrashVO.php:12
getUserId()
Definition: TrashVO.php:83
setRegdate($regdate)
Definition: TrashVO.php:105
setUnserializedObject($serializedObject)
Definition: TrashVO.php:55
getSerializedObject()
Definition: TrashVO.php:43
$originModule
Definition: TrashVO.php:7
$trashSrl
Definition: TrashVO.php:5
setTitle($title)
Definition: TrashVO.php:30
setRemoverSrl($removerSrl)
Definition: TrashVO.php:79
setSerializedObject($serializedObject)
Definition: TrashVO.php:47
$serializedObject
Definition: TrashVO.php:8
getTrashSrl()
Definition: TrashVO.php:17
getOriginModule()
Definition: TrashVO.php:34
$description
Definition: TrashVO.php:10
$unserializedObject
Definition: TrashVO.php:9
getUnserializedObject()
Definition: TrashVO.php:51
setOriginModule($originModule)
Definition: TrashVO.php:39
getNickName()
Definition: TrashVO.php:91
getIpaddress()
Definition: TrashVO.php:67
$regdate
Definition: TrashVO.php:15
if(isset($_REQUEST['encode'])) if(isset($_REQUEST['decode'])) $lang
Definition: example.php:23
setDescription($description)
Definition: TrashVO.php:63
setUserId($userId)
Definition: TrashVO.php:87
setNickName($nickName)
Definition: TrashVO.php:95