Public Member Functions | |
init () | |
getCommentMenu () | |
isGranted ($comment_srl) | |
getChildCommentCount ($comment_srl) | |
getChildComments ($comment_srl) | |
getComment ($comment_srl=0, $is_admin=FALSE, $columnList=array()) | |
getComments ($comment_srl_list, $columnList=array()) | |
getCommentCount ($document_srl) | |
getCommentCountByDate ($date= '', $moduleSrlList=array()) | |
getCommentAllCount ($module_srl, $published=null) | |
getDistinctModules () | |
getNewestCommentList ($obj, $columnList=array()) | |
getCommentList ($document_srl, $page=0, $is_admin=FALSE, $count=0) | |
fixCommentList ($module_srl, $document_srl) | |
_arrangeComment (&$comment_list, $list, $depth, $parent=NULL) | |
getTotalCommentList ($obj, $columnList=array()) | |
getTotalCommentCount ($obj) | |
getCommentConfig ($module_srl) | |
getCommentVotedMemberList () | |
getSecretNameList () | |
getCommentCountByMemberSrl ($member_srl) | |
getCommentListByMemberSrl ($member_srl, $columnList=array(), $page=0, $is_admin=FALSE, $count=0) | |
Public Member Functions inherited from comment | |
moduleInstall () | |
checkUpdate () | |
moduleUpdate () | |
recompileCache () | |
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 | |
Definition at line 12 of file comment.model.php.
commentModel::_arrangeComment | ( | & | $comment_list, |
$list, | |||
$depth, | |||
$parent = NULL |
|||
) |
Relocate comments in the hierarchical structure
array | $comment_list | |
array | $list | |
int | $depth | |
object | $parent |
Definition at line 646 of file comment.model.php.
commentModel::fixCommentList | ( | $module_srl, | |
$document_srl | |||
) |
Update a list of comments in corresponding with document_srl Take care of previously used data than GA version
int | $module_srl | |
int | $document_srl |
Definition at line 554 of file comment.model.php.
commentModel::getChildCommentCount | ( | $comment_srl | ) |
Returns the number of child comments
int | $comment_srl |
Definition at line 132 of file comment.model.php.
commentModel::getChildComments | ( | $comment_srl | ) |
Returns the number of child comments
int | $comment_srl |
Definition at line 145 of file comment.model.php.
commentModel::getComment | ( | $comment_srl = 0 , |
|
$is_admin = FALSE , |
|||
$columnList = array() |
|||
) |
Get the comment
int | $comment_srl | |
bool | $is_admin | |
array | $columnList |
Definition at line 160 of file comment.model.php.
commentModel::getCommentAllCount | ( | $module_srl, | |
$published = null |
|||
) |
Get the total number of comments in corresponding with module_srl.
int | $module_srl | |
bool | $published |
Definition at line 297 of file comment.model.php.
commentModel::getCommentConfig | ( | $module_srl | ) |
Return a configuration of comments for each module
int | $module_srl |
Definition at line 945 of file comment.model.php.
commentModel::getCommentCount | ( | $document_srl | ) |
Get the total number of comments in corresponding with document_srl.
int | $document_srl |
Definition at line 229 of file comment.model.php.
commentModel::getCommentCountByDate | ( | $date = '' , |
|
$moduleSrlList = array() |
|||
) |
Get the total number of comments in corresponding with document_srl.
string | $date | |
array | $moduleSrlList |
Definition at line 270 of file comment.model.php.
commentModel::getCommentCountByMemberSrl | ( | $member_srl | ) |
Get the total number of comments in corresponding with member_srl.
int | $member_srl |
Definition at line 1055 of file comment.model.php.
commentModel::getCommentList | ( | $document_srl, | |
$page = 0 , |
|||
$is_admin = FALSE , |
|||
$count = 0 |
|||
) |
Get a comment list of the doc in corresponding woth document_srl.
int | $document_srl | |
int | $page | |
bool | $is_admin | |
int | $count |
Definition at line 449 of file comment.model.php.
commentModel::getCommentListByMemberSrl | ( | $member_srl, | |
$columnList = array() , |
|||
$page = 0 , |
|||
$is_admin = FALSE , |
|||
$count = 0 |
|||
) |
Get comment list of the doc in corresponding woth member_srl.
int | $member_srl | |
array | $columnList | |
int | $page | |
bool | $is_admin | |
int | $count |
Definition at line 1073 of file comment.model.php.
commentModel::getCommentMenu | ( | ) |
display the pop-up menu of the post Print, scrap, vote-up(recommen), vote-down(non-recommend), report features added
Definition at line 29 of file comment.model.php.
commentModel::getComments | ( | $comment_srl_list, | |
$columnList = array() |
|||
) |
Get the comment list(not paginating)
string | array | $comment_srl_list | |
array | $columnList |
Definition at line 177 of file comment.model.php.
commentModel::getCommentVotedMemberList | ( | ) |
commentModel::getDistinctModules | ( | ) |
Get the module info without duplication
Definition at line 334 of file comment.model.php.
commentModel::getNewestCommentList | ( | $obj, | |
$columnList = array() |
|||
) |
Get the comment in corresponding with mid.
object | $obj | |
array | $columnList |
Definition at line 362 of file comment.model.php.
commentModel::getSecretNameList | ( | ) |
Return a secret status by secret field
Definition at line 1036 of file comment.model.php.
commentModel::getTotalCommentCount | ( | $obj | ) |
Get all the comment count in time decending order(for administrators)
object | $obj |
Definition at line 835 of file comment.model.php.
commentModel::getTotalCommentList | ( | $obj, | |
$columnList = array() |
|||
) |
Get all the comments in time decending order(for administrators)
object | $obj | |
array | $columnList |
Definition at line 687 of file comment.model.php.
commentModel::init | ( | ) |
commentModel::isGranted | ( | $comment_srl | ) |
Check if you have a permission to comment_srl use only session information
int | $comment_srl |
Definition at line 122 of file comment.model.php.