[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_categories/controllers/ -> category.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 176 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CategoriesControllerCategory:: (6 methods):
  __construct()
  allowAdd()
  allowEdit()
  batch()
  getRedirectToItemAppend()
  getRedirectToListAppend()


Class: CategoriesControllerCategory  - X-Ref

The Category Controller

__construct($config = array()   X-Ref
Constructor.

param: array  $config  An optional associative array of configuration settings.

allowAdd($data = array()   X-Ref
Method to check if you can add a new record.

param: array  $data  An array of input data.
return: boolean

allowEdit($data = array()   X-Ref
Method to check if you can edit a record.

param: array   $data  An array of input data.
param: string  $key   The name of the key for the primary key.
return: boolean

batch($model = null)   X-Ref
Method to run batch operations.

param: object  $model  The model.
return: boolean     True if successful, false otherwise and internal error is set.

getRedirectToItemAppend($recordId = null, $urlVar = 'id')   X-Ref
Gets the URL arguments to append to an item redirect.

param: integer  $recordId  The primary key id for the item.
param: string   $urlVar    The name of the URL variable for the id.
return: string  The arguments to append to the redirect URL.

getRedirectToListAppend()   X-Ref
Gets the URL arguments to append to a list redirect.

return: string  The arguments to append to the redirect URL.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1