JTableContent: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JTableContent== | =={{JVer|11.1}} JTableContent== | ||
===Description=== | ===Description=== | ||
===Methods=== | ===Methods=== | ||
| Line 56: | Line 56: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | ||
* [[API17:JTableContent|Other versions of JTableContent]] | * [[API17:JTableContent|Other versions of JTableContent]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableContent | category=JTableContent | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Latest revision as of 03:48, 25 March 2017
JTableContent
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | |
| public | bind | Overloaded bind function. |
| public | check | Overloaded check function. |
| public | publish | Method to set the publishing state for a row or list of rows in the database table. |
| public | store | Overriden to set modified data and user id. |
| public | toXML | Converts record to XML. |
| protected | _getAssetName | Method to compute the default name of the asset. |
| protected | _getAssetParentId | Get the parent asset id for the record. |
| protected | _getAssetTitle | Method to return the title to use for the asset table. |
- Defined in libraries/joomla/database/table/content.php
- Extends JTable
Importing
jimport( 'joomla.database.table.content' );
See also
JTableContent source code on BitBucket
Subpackage Database- Other versions of JTableContent
User contributed notes
Code Examples