XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
BlockUninstallForm.class.php
1<?php
11
12if (!defined('XOOPS_ROOT_PATH')) {
13 exit();
14}
15
16require_once XOOPS_MODULE_PATH . '/legacy/admin/forms/CustomBlockDeleteForm.class.php';
17
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}
update(&$obj)
[Abstract] Updates an object with properties values.
getTokenName()
Gets the token name of this actionform's token.