IP.Board  3.3.0
cp_skin_database_categories Class Reference

Public Member Functions

 __construct (ipsRegistry $registry)
 categories ($database, $categories, $parent=array())
 categoryDeleteForm ($database, $category, $categories=array(), $selectOpts='')
 categoryForm ($type, $database, $category, $categories, $selectOpts='')

Protected Attributes

 $cache
 $caches
 $DB
 $lang
 $member
 $memberData
 $registry
 $request
 $settings

Constructor & Destructor Documentation

__construct ( ipsRegistry registry)

Constructor

Parameters:
object$registryRegistry object
Returns:
void

Member Function Documentation

categories ( database,
categories,
parent = array() 
)

Show the list of categories within a database

public

Parameters:
arrayDatabase
arrayCategories
arrayParent data (if viewing subcats)
Returns:
string HTML
categoryDeleteForm ( database,
category,
categories = array(),
selectOpts = '' 
)

Show the form to move records when deleting a cat

public

Parameters:
arrayDatabase
arrayCategory
arrayCategories
stringSelect menu
Returns:
string HTML
categoryForm ( type,
database,
category,
categories,
selectOpts = '' 
)

Add or edit a category

public

Parameters:
stringadd|edit
arrayDatabase data
arrayCategory data
arrayCategories
stringSelect options
Returns:
string HTML

Field Documentation

$registry [protected]

Registry Object Shortcuts


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables