Class CategoriesControllerCategories

Description

The Categories List Controller

  • since: 1.6

Located in /administrator/components/com_categories/controllers/categories.php (line 19)

JObject
   |
   --JControllerLegacy
      |
      --JControllerAdmin
         |
         --CategoriesControllerCategories
Method Summary
 void delete ()
 object The getModel ([string $name = 'Category'], [string $prefix = 'CategoriesModel'], [ $config = array('ignore_request' => true)])
 bool rebuild ()
 void saveorder ()
Variables
Methods
delete (line 102)

Deletes and returns correctly.

  • since: 3.1.2
  • access: public
void delete ()

Redefinition of:
JControllerAdmin::delete()
Removes an item.
getModel (line 31)

Proxy for getModel

  • return: model.
  • since: 1.6
  • access: public
object The getModel ([string $name = 'Category'], [string $prefix = 'CategoriesModel'], [ $config = array('ignore_request' => true)])
  • string $name: The model name. Optional.
  • string $prefix: The class prefix. Optional.
  • $config

Redefinition of:
JControllerLegacy::getModel()
Method to get a model object, loading it if required.
rebuild (line 44)

Rebuild the nested set tree.

  • return: False on failure or error, true on success.
  • since: 1.6
  • access: public
bool rebuild ()
saveorder (line 74)

Save the manual order inputs from the categories list page.

  • since: 1.6
  • access: public
void saveorder ()

Redefinition of:
JControllerAdmin::saveorder()
Method to save the submitted ordering values for records.

Inherited Methods

Inherited From JControllerAdmin

 JControllerAdmin::__construct()
 JControllerAdmin::checkin()
 JControllerAdmin::delete()
 JControllerAdmin::display()
 JControllerAdmin::postDeleteHook()
 JControllerAdmin::publish()
 JControllerAdmin::reorder()
 JControllerAdmin::saveorder()
 JControllerAdmin::saveOrderAjax()

Inherited From JControllerLegacy

 JControllerLegacy::__construct()
 JControllerLegacy::addModelPath()
 JControllerLegacy::addPath()
 JControllerLegacy::addViewPath()
 JControllerLegacy::authorise()
 JControllerLegacy::checkEditId()
 JControllerLegacy::createFileName()
 JControllerLegacy::createModel()
 JControllerLegacy::createView()
 JControllerLegacy::display()
 JControllerLegacy::execute()
 JControllerLegacy::getInstance()
 JControllerLegacy::getModel()
 JControllerLegacy::getName()
 JControllerLegacy::getTask()
 JControllerLegacy::getTasks()
 JControllerLegacy::getView()
 JControllerLegacy::holdEditId()
 JControllerLegacy::redirect()
 JControllerLegacy::registerDefaultTask()
 JControllerLegacy::registerTask()
 JControllerLegacy::releaseEditId()
 JControllerLegacy::setMessage()
 JControllerLegacy::setPath()
 JControllerLegacy::setRedirect()
 JControllerLegacy::unregisterTask()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 14:55:12 +0100 by phpDocumentor 1.4.3