Cheetah
Public Member Functions | List of all members
Admin Class Reference
Inheritance diagram for Admin:
ThingPage Thing

Public Member Functions

 __construct ()
 
 deleteCategory ($cat_id)
 
 deleteForum ($forum_id)
 
 editCategory ($cat_id)
 
 editCategorySubmit ($cat_id, $cat_name, $cat_order, $cat_expanded)
 
 editForum ($forum_id, $cat_id)
 
 editFormSubmit ($cat_id, $forum_id, $title, $desc, $type, $order)
 
 getHiddenPostsXML ($wp)
 
 getReportedPostsXML ($wp)
 
 getXxxPostsXML ($wp, $sDbFunc, $sTitle, $sAddXml='')
 
 compileLangs ()
 
 clearReport ($post_id)
 
- Public Member Functions inherited from ThingPage
 getLangs ()
 
 getLangsXml ()
 
 getUrlsXml ()
 
 addHeaderFooter (&$li, $content)
 
 getPageXML ($first_load=1, &$p)
 
 cacheWrite ($fn, $s)
 
 cacheRead ($fn)
 
 cacheExists ($fn)
 
 cacheEnabled ()
 

Detailed Description

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file Admin.php.

Constructor & Destructor Documentation

◆ __construct()

Admin::__construct ( )

constructor

Reimplemented from ThingPage.

Definition at line 15 of file Admin.php.

Member Function Documentation

◆ clearReport()

Admin::clearReport (   $post_id)

Definition at line 303 of file Admin.php.

◆ compileLangs()

Admin::compileLangs ( )

Definition at line 284 of file Admin.php.

◆ deleteCategory()

Admin::deleteCategory (   $cat_id)

delete category

Parameters
$cat_idcategory id
returnxml (<ret>0</ret>|<ret>1</ret>)

Definition at line 26 of file Admin.php.

◆ deleteForum()

Admin::deleteForum (   $forum_id)

delete forum

Parameters
$forum_idforum id
returnxml (<ret>0</ret>|<ret>1</ret>)

Definition at line 40 of file Admin.php.

◆ editCategory()

Admin::editCategory (   $cat_id)

show edit category page

Parameters
$cat_idcategory id
returncategory window xml

Definition at line 60 of file Admin.php.

◆ editCategorySubmit()

Admin::editCategorySubmit (   $cat_id,
  $cat_name,
  $cat_order,
  $cat_expanded 
)

save category information

Parameters
$cat_idcategory id
$cat_namecategory name
returnxml (<ret>0</ret>|<ret>1</ret>)

Definition at line 87 of file Admin.php.

◆ editFormSubmit()

Admin::editFormSubmit (   $cat_id,
  $forum_id,
  $title,
  $desc,
  $type,
  $order 
)

save forum information

Parameters
$cat_idcategory id
$forum_idforum id
$titleforum title
$descforum description
$typeforum type (public|private)
returnxml (<ret>0</ret>|<ret>1</ret>)

Definition at line 156 of file Admin.php.

◆ editForum()

Admin::editForum (   $forum_id,
  $cat_id 
)

show edit forum page

Parameters
$forum_idforum id
$cat_idcategory id
returnforum edit window xml

Definition at line 114 of file Admin.php.

◆ getHiddenPostsXML()

Admin::getHiddenPostsXML (   $wp)

returns reported posts XML

Definition at line 186 of file Admin.php.

◆ getReportedPostsXML()

Admin::getReportedPostsXML (   $wp)

returns reported posts XML

Definition at line 194 of file Admin.php.

◆ getXxxPostsXML()

Admin::getXxxPostsXML (   $wp,
  $sDbFunc,
  $sTitle,
  $sAddXml = '' 
)

Definition at line 199 of file Admin.php.


The documentation for this class was generated from the following file: