Controller class of point modules. More...
Public Member Functions | |
init () | |
Initialization. More... | |
triggerInsertMember (&$obj) | |
Membership point application trigger. More... | |
triggerAfterLogin (&$obj) | |
A trigger to add points to the member for login. More... | |
triggerInsertDocument (&$obj) | |
A trigger to add points to the member for creating a post. More... | |
triggerUpdateDocument (&$obj) | |
The trigger to give points for normal saving the temporarily saved document Temporary storage at the point in 1.2.3 changed to avoid payment. More... | |
triggerBeforeDeleteDocument (&$obj) | |
The trigger which deducts the points related to post comments before deleting the post itself. More... | |
triggerDeleteDocument (&$obj) | |
A trigger to give points for deleting the post. More... | |
triggerInsertComment (&$obj) | |
A trigger which gives points for entering a comment. More... | |
triggerDeleteComment (&$obj) | |
A trigger which gives points for deleting a comment. More... | |
triggerInsertFile (&$obj) | |
Add the file registration trigger To prevent taking points for invalid file registration this method wlil return a null object. More... | |
triggerDeleteFile (&$obj) | |
A trigger to give points for deleting a file Remove points only in case an invalid file is being deleted. More... | |
triggerBeforeDownloadFile (&$obj) | |
The trigger called before a file is downloaded. More... | |
triggerDownloadFile (&$obj) | |
The trigger to give or take points for downloading the file. More... | |
triggerUpdateReadedCount (&$obj) | |
Give points for hits increase Run it even if there are no points. More... | |
triggerUpdateVotedCount (&$obj) | |
Points for voting up or down. More... | |
setPoint ($member_srl, $point, $mode=null) | |
Set points. More... | |
triggerCopyModule (&$obj) | |
Public Member Functions inherited from point | |
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-create 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 | |
Controller class of point modules.
Definition at line 8 of file point.controller.php.
pointController::init | ( | ) |
Initialization.
Definition at line 13 of file point.controller.php.
pointController::setPoint | ( | $member_srl, | |
$point, | |||
$mode = null |
|||
) |
Set points.
Definition at line 511 of file point.controller.php.
pointController::triggerAfterLogin | ( | & | $obj | ) |
A trigger to add points to the member for login.
Definition at line 42 of file point.controller.php.
pointController::triggerBeforeDeleteDocument | ( | & | $obj | ) |
The trigger which deducts the points related to post comments before deleting the post itself.
Definition at line 137 of file point.controller.php.
pointController::triggerBeforeDownloadFile | ( | & | $obj | ) |
The trigger called before a file is downloaded.
Definition at line 325 of file point.controller.php.
pointController::triggerCopyModule | ( | & | $obj | ) |
Definition at line 714 of file point.controller.php.
pointController::triggerDeleteComment | ( | & | $obj | ) |
A trigger which gives points for deleting a comment.
Definition at line 254 of file point.controller.php.
pointController::triggerDeleteDocument | ( | & | $obj | ) |
A trigger to give points for deleting the post.
Definition at line 188 of file point.controller.php.
pointController::triggerDeleteFile | ( | & | $obj | ) |
A trigger to give points for deleting a file Remove points only in case an invalid file is being deleted.
Definition at line 298 of file point.controller.php.
pointController::triggerDownloadFile | ( | & | $obj | ) |
The trigger to give or take points for downloading the file.
Definition at line 376 of file point.controller.php.
pointController::triggerInsertComment | ( | & | $obj | ) |
A trigger which gives points for entering a comment.
Definition at line 224 of file point.controller.php.
pointController::triggerInsertDocument | ( | & | $obj | ) |
A trigger to add points to the member for creating a post.
Definition at line 66 of file point.controller.php.
pointController::triggerInsertFile | ( | & | $obj | ) |
Add the file registration trigger To prevent taking points for invalid file registration this method wlil return a null object.
Definition at line 289 of file point.controller.php.
pointController::triggerInsertMember | ( | & | $obj | ) |
Membership point application trigger.
Definition at line 20 of file point.controller.php.
pointController::triggerUpdateDocument | ( | & | $obj | ) |
The trigger to give points for normal saving the temporarily saved document Temporary storage at the point in 1.2.3 changed to avoid payment.
Definition at line 102 of file point.controller.php.
pointController::triggerUpdateReadedCount | ( | & | $obj | ) |
Give points for hits increase Run it even if there are no points.
Definition at line 417 of file point.controller.php.
pointController::triggerUpdateVotedCount | ( | & | $obj | ) |
Points for voting up or down.
Definition at line 476 of file point.controller.php.