XOOPS 2.5.6
Final
|
Public Member Functions | |
delete () | |
getAllComments ($criteria=array(), $asobject=true, $orderby="comment_id ASC", $limit=0, $start=0) | |
getCommentTree () | |
load ($id) | |
printNavBar ($item_id, $mode="flat", $order=1) | |
showThreadFoot () | |
showThreadHead () | |
showThreadPost ($order, $mode, $adminview=0, $color_num=1) | |
showTreeFoot () | |
showTreeHead ($width="100%") | |
showTreeItem ($order, $mode, $color_num) | |
store () | |
XoopsComments ($ctable, $id=null) | |
Public Member Functions inherited from XoopsObject | |
_loadFilters () | |
assignVar ($key, $value) | |
assignVars ($var_arr) | |
cleanVars () | |
destoryVars ($var) | |
getErrors () | |
getHtmlErrors () | |
getValues ($keys=null, $format= 's', $maxDepth=1) | |
getVar ($key, $format= 's') | |
& | getVars () |
initVar ($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '', $enumerations= '') | |
isDirty () | |
isNew () | |
loadFilters ($method) | |
registerFilter ($filtername) | |
setDirty () | |
setErrors ($err_str) | |
setFormVars ($var_arr=null, $pref= 'xo_', $not_gpc=false) | |
setNew () | |
setVar ($key, $value, $not_gpc=false) | |
setVars ($var_arr, $not_gpc=false) | |
toArray () | |
unsetDirty () | |
unsetNew () | |
& | xoopsClone () |
XoopsObject () | |
Public Attributes | |
$ctable | |
$db | |
Public Attributes inherited from XoopsObject | |
$_errors = array() | |
$_filters = array() | |
$_isDirty = false | |
$_isNew = false | |
$cleanVars = array() | |
$vars = array() | |
Definition at line 39 of file xoopscomments.php.
XoopsComments::delete | ( | ) |
XoopsComments::getAllComments | ( | $criteria = array() , |
|
$asobject = true , |
|||
$orderby = "comment_id ASC" , |
|||
$limit = 0 , |
|||
$start = 0 |
|||
) |
XoopsComments::getCommentTree | ( | ) |
XoopsComments::load | ( | $id | ) |
Load Comment by ID
int | $id |
Definition at line 78 of file xoopscomments.php.
References $sql.
XoopsComments::printNavBar | ( | $item_id, | |
$mode = "flat" , |
|||
$order = 1 |
|||
) |
Enter printNavBar
int | $item_id | |
string | type $mode | |
int | type $order |
Definition at line 217 of file xoopscomments.php.
References $_SERVER, $xoopsConfig, $xoopsUser, _CM_POSTCOMMENT, _CM_REFRESH, _FLAT, _NEWESTFIRST, _NOCOMMENTS, _OLDESTFIRST, and _THREADED.
XoopsComments::showThreadFoot | ( | ) |
Show Thread Footer
Definition at line 370 of file xoopscomments.php.
References closeThread().
XoopsComments::showThreadHead | ( | ) |
Show Thread
Definition at line 254 of file xoopscomments.php.
References openThread().
XoopsComments::showThreadPost | ( | $order, | |
$mode, | |||
$adminview = 0 , |
|||
$color_num = 1 |
|||
) |
Enter description here...
string | $order | |
string | $mode | |
int | $adminview | |
int | $color_num |
Definition at line 267 of file xoopscomments.php.
References $poster, $xoopsConfig, $xoopsUser, _ADD, _CM_FROM, _CM_JOINED, _CM_POSTS, _DELETE, _EDIT, _PROFILE, _REPLY, _SENDEMAILTO, _SENDPMTO, _VISITWEBSITE, formatTimestamp(), showThread(), and XOOPS_UPLOAD_URL.
XoopsComments::showTreeFoot | ( | ) |
Show Thread Foot
Definition at line 413 of file xoopscomments.php.
XoopsComments::showTreeHead | ( | $width = "100%" | ) |
Show Thread Head
int | $width |
Definition at line 380 of file xoopscomments.php.
References _CM_POSTED, _CM_POSTER, _CM_REPLIES, and _CM_TITLE.
XoopsComments::showTreeItem | ( | $order, | |
$mode, | |||
$color_num | |||
) |
Show Tree Items
string | $order | |
string | $mode | |
int | $color_num |
Definition at line 392 of file xoopscomments.php.
References $_SERVER, $date, $icon, formatTimestamp(), and XoopsUser\getUnameFromId().
XoopsComments::store | ( | ) |
XoopsComments::XoopsComments | ( | $ctable, | |
$id = null |
|||
) |
Definition at line 44 of file xoopscomments.php.
References XoopsDatabaseFactory\getDatabaseConnection(), XOBJ_DTYPE_INT, XOBJ_DTYPE_OTHER, XOBJ_DTYPE_TXTAREA, and XOBJ_DTYPE_TXTBOX.
XoopsComments::$ctable |
Definition at line 41 of file xoopscomments.php.
XoopsComments::$db |
Definition at line 42 of file xoopscomments.php.