XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
AdminActionSearch.class.php
1<?php
11
12if (!defined('XOOPS_ROOT_PATH')) {
13 exit();
14}
15
25{
26 public function getName()
27 {
28 return 'action_search';
29 }
30
31 public function getTitle()
32 {
33 return _AD_BLOCK_SEARCH;
34 }
35
36 public function getEntryIndex()
37 {
38 return 0;
39 }
40
41 public function isEnableCache()
42 {
43 return false;
44 }
45
46 public function execute()
47 {
48 $render =& $this->getRenderTarget();
49 $render->setAttribute('legacy_module', 'legacy');
50 $render->setTemplateName('legacy_admin_block_actionsearch.html');
51
52 $root =& XCube_Root::getSingleton();
53
54 $renderSystem =& $root->getRenderSystem($this->getRenderSystemName());
55
56 $renderSystem->renderBlock($render);
57 }
58
59 public function hasResult()
60 {
61 return true;
62 }
63
64 public function &getResult()
65 {
66 $dmy = 'dummy';
67 return $dmy;
68 }
69
70 public function getRenderSystemName()
71 {
72 return 'Legacy_AdminRenderSystem';
73 }
74}