XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
BlockUninstallForm.class.php
1
<?php
11
12
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
13
exit();
14
}
15
16
require_once XOOPS_MODULE_PATH .
'/legacy/admin/forms/CustomBlockDeleteForm.class.php'
;
17
18
class
Legacy_BlockUninstallForm
extends
Legacy_CustomBlockDeleteForm
19
{
20
public
function
getTokenName
()
21
{
22
return
'module.legacy.BlockUninstallForm.TOKEN'
. $this->
get
(
'bid'
);
23
}
24
25
public
function
update
(&$obj)
26
{
27
parent::update($obj);
28
$obj->set(
'last_modified'
, time());
29
$obj->set(
'visible'
,
false
);
30
}
31
}
Legacy_BlockUninstallForm
Definition
BlockUninstallForm.class.php:19
Legacy_BlockUninstallForm\update
update(&$obj)
[Abstract] Updates an object with properties values.
Definition
BlockUninstallForm.class.php:25
Legacy_BlockUninstallForm\getTokenName
getTokenName()
Gets the token name of this actionform's token.
Definition
BlockUninstallForm.class.php:20
Legacy_CustomBlockDeleteForm
Definition
CustomBlockDeleteForm.class.php:21
html
modules
legacy
admin
forms
BlockUninstallForm.class.php
Generated by
1.13.2