Class ContentControllerArticle

Description
  • since: 1.6

Located in /administrator/components/com_content/controllers/article.php (line 20)

JObject
   |
   --JController
      |
      --JControllerForm
         |
         --ContentControllerArticle
Method Summary
ContentControllerArticle __construct ([array $config = array()])
boolean allowAdd ([array $data = array()])
boolean allowEdit ([array $data = array()], [string $key = 'id'])
boolean batch ([object $model = null])
Variables
Methods
Constructor __construct (line 29)

Class constructor.

  • since: 1.6
ContentControllerArticle __construct ([array $config = array()])
  • array $config: A named array of configuration variables.

Redefinition of:
JControllerForm::__construct()
Constructor.
allowAdd (line 51)

Method override to check if you can add a new record.

  • since: 1.6
  • access: protected
boolean allowAdd ([array $data = array()])
  • array $data: An array of input data.

Redefinition of:
JControllerForm::allowAdd()
Method to check if you can add a new record.
allowEdit (line 85)

Method override to check if you can edit an existing record.

  • since: 1.6
  • access: protected
boolean allowEdit ([array $data = array()], [string $key = 'id'])
  • array $data: An array of input data.
  • string $key: The name of the key for the primary key.

Redefinition of:
JControllerForm::allowEdit()
Method to check if you can add a new record.
batch (line 137)

Method to run batch operations.

  • return: True if successful, false otherwise and internal error is set.
  • since: 1.6
  • access: public
boolean batch ([object $model = null])
  • object $model: The model.

Redefinition of:
JControllerForm::batch()
Method to run batch operations.

Inherited Methods

Inherited From JControllerForm

JControllerForm::__construct()
JControllerForm::add()
JControllerForm::allowAdd()
JControllerForm::allowEdit()
JControllerForm::allowSave()
JControllerForm::batch()
JControllerForm::cancel()
JControllerForm::edit()
JControllerForm::getModel()
JControllerForm::getRedirectToItemAppend()
JControllerForm::getRedirectToListAppend()
JControllerForm::postSaveHook()
JControllerForm::save()

Inherited From JController

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

Inherited From JObject

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

Documentation generated on Mon, 25 Jun 2012 13:52:19 -0500 by phpDocumentor 1.4.4