XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_CommentEditAction Class Reference
Inheritance diagram for Legacy_CommentEditAction:
Legacy_AbstractEditAction Legacy_Action

Public Member Functions

 prepare (&$controller, &$xoopsUser)
 
 _getId ()
 
_getHandler ()
 
 isEnableCreate ()
 
 _setupActionForm ()
 
 executeViewInput (&$controller, &$xoopsUser, &$render)
 
 executeViewSuccess (&$controller, &$xoopsUser, &$render)
 
 executeViewError (&$controller, &$xoopsUser, &$render)
 
 executeViewCancel (&$controller, &$xoopsUser, &$render)
 
 doApprove ($comment)
 
 doUpdate ($comment)
 
- Public Member Functions inherited from Legacy_AbstractEditAction
 _setupObject ()
 
 getDefaultView (&$controller, &$xoopsUser)
 
 execute (&$controller, &$xoopsUser)
 
 _doExecute ()
 
- Public Member Functions inherited from Legacy_Action
 Legacy_Action ($adminFlag=false)
 
 __construct ($adminFlag=false)
 
 hasPermission (&$controller, &$xoopsUser)
 
 executeViewIndex (&$controller, &$xoopsUser, &$render)
 
 executeViewPreview (&$controller, &$xoopsUser, &$render)
 

Static Public Member Functions

 loadCallbackFile (&$comment)
 

Additional Inherited Members

- Data Fields inherited from Legacy_AbstractEditAction
 $mObject = null
 
 $mObjectHandler = null
 
 $mActionForm = null
 
- Data Fields inherited from Legacy_Action
 $_mAdminFlag = false
 

Detailed Description

Definition at line 20 of file CommentEditAction.class.php.

Member Function Documentation

◆ _getHandler()

& _getHandler ( )

Reimplemented from Legacy_AbstractEditAction.

Definition at line 38 of file CommentEditAction.class.php.

◆ _getId()

_getId ( )

Reimplemented from Legacy_AbstractEditAction.

Definition at line 33 of file CommentEditAction.class.php.

◆ _setupActionForm()

_setupActionForm ( )

Choose appropriate ActionForm by the value of com_status.

Reimplemented from Legacy_AbstractEditAction.

Definition at line 52 of file CommentEditAction.class.php.

◆ doApprove()

doApprove ( $comment)

Definition at line 140 of file CommentEditAction.class.php.

◆ doUpdate()

doUpdate ( $comment)

Definition at line 166 of file CommentEditAction.class.php.

◆ executeViewCancel()

executeViewCancel ( & $controller,
& $xoopsUser,
& $render )

Reimplemented from Legacy_Action.

Definition at line 102 of file CommentEditAction.class.php.

◆ executeViewError()

executeViewError ( & $controller,
& $xoopsUser,
& $render )

Reimplemented from Legacy_Action.

Definition at line 97 of file CommentEditAction.class.php.

◆ executeViewInput()

executeViewInput ( & $controller,
& $xoopsUser,
& $render )

Reimplemented from Legacy_Action.

Definition at line 65 of file CommentEditAction.class.php.

◆ executeViewSuccess()

executeViewSuccess ( & $controller,
& $xoopsUser,
& $render )

Reimplemented from Legacy_Action.

Definition at line 92 of file CommentEditAction.class.php.

◆ isEnableCreate()

isEnableCreate ( )

Reimplemented from Legacy_AbstractEditAction.

Definition at line 44 of file CommentEditAction.class.php.

◆ loadCallbackFile()

loadCallbackFile ( & $comment)
static
Parameters
$comment
Returns
Return array as the informations of comments. If $comment has fatal status, return false.

Definition at line 112 of file CommentEditAction.class.php.

◆ prepare()

prepare ( & $controller,
& $xoopsUser )

Override. At first, call _setupObject().

Parameters
$controller
$xoopsUser

Reimplemented from Legacy_AbstractEditAction.

Definition at line 27 of file CommentEditAction.class.php.


The documentation for this class was generated from the following file: