JTableContent
From Joomla! Documentation
JTableComponent is a concrete table class which handles data-rows of the #__components table.
Contents |
Availability
Defined in
/joomla/database/table/content.php
Extends
Reserved Database Field Names
The operation of this class is dependent on the existence of specially-named fields (columns) in the database table.
| Field name | Description |
|---|---|
| access | |
| alias | Content alias |
| attribs | |
| catid | Category ID that belongs to this content article |
| checked_out | 1 if checked out, else 0 |
| checked_out_time | Time of check out |
| created | Datetime of content creation |
| created_by_alias | Alias of the author. |
| frontpage_down | Time when this article should not appear on the frontpage anymore |
| frontpage_up | Time when this article shall start to appear on the frontpage |
| fulltext | The full text of the article |
| hits | number of hits on this article |
| id | Article ID. Primary Key. |
| images | |
| introtext | |
| mask | DEPRECIATED |
| metadata | |
| metadesc | Description of this article for use in the description field in meta section |
| metakey | Keywords of thsi article for use in the meta section |
| modified | Time of last modification of this article |
| modified_by | User id of the user that has modified this article last |
| ordering | |
| parentid | |
| publish_down | Time, when this article shall be unpublished |
| publish_up | Time when this article shall be published |
| sectionid | The id of the category section |
| state | |
| title | The article title |
| title_alias | The alias of the title |
| urls | |
| version |
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. Takes table name, primary key and database reference. |
| check | Overloaded check function |
| toXML | Converts record to XML |
Importing
jimport( 'joomla.database.table.content' );
