XOOPS Docs - kernel
[ class tree: kernel ] [ index: kernel ] [ all elements ]

Class: XoopsComments

Source Location: /class/xoopscomments.php

Class Overview

XoopsObject
   |
   --XoopsComments

Base class for all objects in the Xoops kernel (and beyond)


Author(s):

  • Kazumi Ono (AKA onokazu)

Copyright:

  • copyright © 2000 XOOPS.org

Variables

Methods


Inherited Variables

Inherited Methods

Class: XoopsObject

XoopsObject::XoopsObject()
constructor
XoopsObject::assignVar()
assign a value to a variable
XoopsObject::cleanVars()
clean values of all variables of the object for storage.
XoopsObject::getErrors()
return the errors for this object as an array
XoopsObject::getHtmlErrors()
return the errors for this object as html
XoopsObject::getValues()
Returns the values of the specified variables
XoopsObject::getVar()
returns a specific variable for the object in a proper format
XoopsObject::getVars()
returns all variables for the object
XoopsObject::initVar()
initialize variables for the object
XoopsObject::isDirty()
mark modified objects as dirty
XoopsObject::isNew()
used for new/clone objects
XoopsObject::registerFilter()
dynamically register additional filter for the object
XoopsObject::setDirty()
mark modified objects as dirty
XoopsObject::setErrors()
add an error
XoopsObject::setNew()
used for new/clone objects
XoopsObject::setVar()
assign a value to a variable
XoopsObject::unsetDirty()
mark modified objects as dirty
XoopsObject::unsetNew()
used for new/clone objects
XoopsObject::xoopsClone()
create a clone(copy) of the current object

Class Details

[line 38]
Base class for all objects in the Xoops kernel (and beyond)



Tags:

author:  Kazumi Ono (AKA onokazu)
copyright:  copyright © 2000 XOOPS.org


[ Top ]


Class Variables

$ctable =

[line 40]


Type:   mixed


[ Top ]

$db =

[line 41]


Type:   mixed


[ Top ]



Class Methods


constructor XoopsComments [line 43]

XoopsComments XoopsComments( $ctable, [ $id = null])



Parameters:

   $ctable  
   $id  

[ Top ]

method delete [line 111]

void delete( )



[ Top ]

method getAllComments [line 150]

void getAllComments( [ $criteria = array()], [ $asobject = true], [ $orderby = "comment_id ASC"], [ $limit = 0], [ $start = 0])



Parameters:

   $criteria  
   $asobject  
   $orderby  
   $limit  
   $start  

[ Top ]

method getCommentTree [line 139]

void getCommentTree( )



[ Top ]

method load [line 72]

void load( $id)



Parameters:

   $id  

[ Top ]

method printNavBar [line 179]

void printNavBar( $item_id, [ $mode = "flat"], [ $order = 1])



Parameters:

   $item_id  
   $mode  
   $order  

[ Top ]

method showThreadFoot [line 316]

void showThreadFoot( )



[ Top ]

method showThreadHead [line 212]

void showThreadHead( )



[ Top ]

method showThreadPost [line 217]

void showThreadPost( $order, $mode, [ $adminview = 0], [ $color_num = 1])



Parameters:

   $order  
   $mode  
   $adminview  
   $color_num  

[ Top ]

method showTreeFoot [line 343]

void showTreeFoot( )



[ Top ]

method showTreeHead [line 321]

void showTreeHead( [ $width = "100%"])



Parameters:

   $width  

[ Top ]

method showTreeItem [line 326]

void showTreeItem( $order, $mode, $color_num)



Parameters:

   $order  
   $mode  
   $color_num  

[ Top ]

method store [line 79]

void store( )



[ Top ]


XOOPS Docs generated by phpDocumentor