API17

Difference between revisions of "JModelAdmin"

From Joomla! Documentation

m (→‎User contributed notes: bad link repair)
m (JoomlaWikiBot moved page JModelAdmin/11.1 to API17:JModelAdmin without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 19:46, 10 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JModelAdmin[edit]

Description[edit]

Template:Description:JModelAdmin [Edit Descripton]

Methods[edit]

Visibility Method name Description
public __construct Constructor.
public checkin Method override to check-in a record or an array of record.
public checkout Method override to check-out a record.
public delete Method to delete one or more records.
public getItem Method to get a single record.
public publish Method to change the published state of one or more records.
public reorder Method to adjust the ordering of a row.
public save Method to save the form data.
public saveorder Saves the manually set order of records.
protected canDelete Method to test whether a record can be deleted.
protected canEditState Method to test whether a record can be deleted.
protected getReorderConditions A protected method to get a set of ordering conditions.
protected populateState Stock method to auto-populate the model state.
protected prepareTable Prepare and sanitise the table data prior to saving.
  • Defined in libraries/joomla/application/component/modeladmin.php
  • Extends JModelForm

Importing[edit]

jimport( 'joomla.application.component.modeladmin' );

See also[edit]

Template:SeeAlso:JModelAdmin [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />