XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
AbstractAction.class.php
1<?php
10
11if (!defined('XOOPS_ROOT_PATH')) {
12 exit();
13}
14
15class Profile_AbstractAction
16{
17 public $mRoot = null;
18 public $mModule = null;
19 public $mAsset = null;
20
24 public function &_getHandler()
25 {
26 }
27 public function Profile_AbstractAction()
28 {
29 self::__construct();
30 }
31 public function __construct()
32 {
33 $this->mRoot =& XCube_Root::getSingleton();
34 $this->mModule =& $this->mRoot->mContext->mModule;
35 $this->mAsset =& $this->mModule->mAssetManager;
36 }
37 public function isMemberOnly()
38 {
39 return false;
40 }
41 public function isAdminOnly()
42 {
43 return false;
44 }
45 public function prepare()
46 {
47 return true;
48 }
49
50 public function hasPermission()
51 {
52 return true;
53 }
54
55 public function getDefaultView()
56 {
57 return \PROFILE_FRAME_VIEW_NONE;
58 }
59
60 public function execute()
61 {
62 return \PROFILE_FRAME_VIEW_NONE;
63 }
64
65 public function executeViewSuccess(&$controller, &$render)
66 {
67 }
68
69 public function executeViewError(&$render)
70 {
71 }
72
73 public function executeViewIndex(&$render)
74 {
75 }
76
77 public function executeViewInput(&$render)
78 {
79 }
80
81 public function executeViewPreview(&$render)
82 {
83 }
84
85 public function executeViewCancel(&$render)
86 {
87 }
88}