XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
pollController Class Reference

Controller class for poll module. More...

Inheritance diagram for pollController:
poll ModuleObject BaseObject

Public Member Functions

 init ()
 Initialization. More...
 
 procPollInsert ()
 after a qeustion is created in the popup window, register the question during the save time More...
 
 procPoll ()
 Accept the poll. More...
 
 procPollViewResult ()
 Preview the results. More...
 
 procPollGetList ()
 poll list More...
 
 triggerInsertDocumentPoll (&$obj)
 A poll synchronization trigger when a new post is registered. More...
 
 triggerInsertCommentPoll (&$obj)
 A poll synchronization trigger when a new comment is registered. More...
 
 triggerUpdateDocumentPoll (&$obj)
 A poll synchronization trigger when a post is updated. More...
 
 triggerUpdateCommentPoll (&$obj)
 A poll synchronization trigger when a comment is updated. More...
 
 triggerDeleteDocumentPoll (&$obj)
 A poll deletion trigger when a post is removed. More...
 
 triggerDeleteCommentPoll (&$obj)
 A poll deletion trigger when a comment is removed. More...
 
 syncPoll ($upload_target_srl, $content)
 As post content's poll is obtained, synchronize the poll using the document number. More...
 
- Public Member Functions inherited from poll
 moduleInstall ()
 Additional tasks required to accomplish during the installation. More...
 
 checkUpdate ()
 A method to check if the installation has been successful. More...
 
 moduleUpdate ()
 Execute update. More...
 
 recompileCache ()
 Re-generate the cache file. More...
 
- Public Member Functions inherited from ModuleObject
 setModule ($module)
 
 setModulePath ($path)
 
 setRedirectUrl ($url= './', $output=NULL)
 
 getRedirectUrl ()
 
 setMessage ($message= 'success', $type=NULL)
 
 setMessageType ($type)
 
 getMessageType ()
 
 setRefreshPage ()
 
 setAct ($act)
 
 setModuleInfo ($module_info, $xml_info)
 
 stop ($msg_code)
 
 setTemplateFile ($filename)
 
 getTemplateFile ()
 
 setTemplatePath ($path)
 
 getTemplatePath ()
 
 setEditedLayoutFile ($filename)
 
 getEditedLayoutFile ()
 
 setLayoutFile ($filename)
 
 getLayoutFile ()
 
 setLayoutPath ($path)
 
 getLayoutPath ($layout_name="", $layout_type="P")
 
 proc ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Additional Inherited Members

- Public Attributes inherited from ModuleObject
 $mid = NULL
 string to represent run-time instance of Module (XE Module) More...
 
 $module = NULL
 Class name of Xe Module that is identified by mid. More...
 
 $module_srl = NULL
 integer value to represent a run-time instance of Module (XE Module) More...
 
 $module_info = NULL
 an object containing the module information More...
 
 $origin_module_info = NULL
 
 $xml_info = NULL
 an object containing the module description extracted from XML file More...
 
 $module_path = NULL
 a path to directory where module source code resides More...
 
 $act = NULL
 a string value to contain the action name More...
 
 $template_path = NULL
 a path of directory where template files reside More...
 
 $template_file = NULL
 name of template file More...
 
 $layout_path = ''
 a path of directory where layout files reside More...
 
 $layout_file = ''
 name of layout file More...
 
 $edited_layout_file = ''
 name of temporary layout files that is modified in an admin mode More...
 
 $stop_proc = FALSE
 a flag to indicating whether to stop the execution of code. More...
 
 $module_config = NULL
 
 $ajaxRequestMethod = array('XMLRPC', 'JSON')
 
 $gzhandler_enable = TRUE
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 

Detailed Description

Controller class for poll module.

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com)

Definition at line 8 of file poll.controller.php.

Member Function Documentation

pollController::init ( )

Initialization.

Definition at line 13 of file poll.controller.php.

pollController::procPoll ( )

Accept the poll.

Definition at line 170 of file poll.controller.php.

pollController::procPollGetList ( )

poll list

Definition at line 260 of file poll.controller.php.

pollController::procPollInsert ( )

after a qeustion is created in the popup window, register the question during the save time

Definition at line 20 of file poll.controller.php.

pollController::procPollViewResult ( )

Preview the results.

Definition at line 243 of file poll.controller.php.

pollController::syncPoll (   $upload_target_srl,
  $content 
)

As post content's poll is obtained, synchronize the poll using the document number.

Definition at line 398 of file poll.controller.php.

pollController::triggerDeleteCommentPoll ( $obj)

A poll deletion trigger when a comment is removed.

Definition at line 365 of file poll.controller.php.

pollController::triggerDeleteDocumentPoll ( $obj)

A poll deletion trigger when a post is removed.

Definition at line 332 of file poll.controller.php.

pollController::triggerInsertCommentPoll ( $obj)

A poll synchronization trigger when a new comment is registered.

Definition at line 305 of file poll.controller.php.

pollController::triggerInsertDocumentPoll ( $obj)

A poll synchronization trigger when a new post is registered.

Definition at line 296 of file poll.controller.php.

pollController::triggerUpdateCommentPoll ( $obj)

A poll synchronization trigger when a comment is updated.

Definition at line 323 of file poll.controller.php.

pollController::triggerUpdateDocumentPoll ( $obj)

A poll synchronization trigger when a post is updated.

Definition at line 314 of file poll.controller.php.


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