Class: XoopsComments

Source Location: /class/xoopscomments.php

Class XoopsComments

Class Overview

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

Located in /class/xoopscomments.php [line 38]

XoopsObject
   |
   --XoopsComments
Author(s):
  • Kazumi Ono (AKA onokazu)
Information Tags:
Copyright:  copyright © 2000 XOOPS.org

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From XoopsObject

XoopsObject::$cleanVars
XoopsObject::$vars

Inherited From 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

[ Top ]
Property Summary
mixed   $ctable  
mixed   $db  

[ Top ]
Method Summary
XoopsComments   XoopsComments()  
void   delete()  
void   getAllComments()  
void   getCommentTree()  
void   load()  
void   printNavBar()  
void   showThreadFoot()  
void   showThreadHead()  
void   showThreadPost()  
void   showTreeFoot()  
void   showTreeHead()  
void   showTreeItem()  
void   store()  

[ Top ]
Properties
mixed   $ctable [line 40]

[ Top ]
mixed   $db [line 41]

[ Top ]
Methods
Constructor XoopsComments  [line 43]

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

Parameters:
   $ctable: 
   $id: 


[ Top ]
delete  [line 112]

  void delete( )



[ Top ]
getAllComments  [line 151]

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

Parameters:
   $criteria: 
   $asobject: 
   $orderby: 
   $limit: 
   $start: 


[ Top ]
getCommentTree  [line 140]

  void getCommentTree( )



[ Top ]
load  [line 72]

  void load( $id  )

Parameters:
   $id: 


[ Top ]
printNavBar  [line 180]

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

Parameters:
   $item_id: 
   $mode: 
   $order: 


[ Top ]
showThreadFoot  [line 317]

  void showThreadFoot( )



[ Top ]
showThreadHead  [line 213]

  void showThreadHead( )



[ Top ]
showThreadPost  [line 218]

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

Parameters:
   $order: 
   $mode: 
   $adminview: 
   $color_num: 


[ Top ]
showTreeFoot  [line 344]

  void showTreeFoot( )



[ Top ]
showTreeHead  [line 322]

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

Parameters:
   $width: 


[ Top ]
showTreeItem  [line 327]

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

Parameters:
   $order: 
   $mode: 
   $color_num: 


[ Top ]
store  [line 80]

  void store( )



[ Top ]

Documentation generated on Sat, 15 Nov 2008 14:30:07 -0600 by phpDocumentor 1.4.1