API17:JTableContent
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JTableContent== | ||
| + | ===Description=== | ||
| + | {{Description:JTableContent}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JTableContent|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableContent|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JTableContent::__construct/11.1|__construct]] | |[[JTableContent::__construct/11.1|__construct]] | ||
| | | | ||
|- | |- | ||
| + | |public | ||
|[[JTableContent::bind/11.1|bind]] | |[[JTableContent::bind/11.1|bind]] | ||
|Overloaded bind function. | |Overloaded bind function. | ||
|- | |- | ||
| + | |public | ||
|[[JTableContent::check/11.1|check]] | |[[JTableContent::check/11.1|check]] | ||
|Overloaded check function. | |Overloaded check function. | ||
|- | |- | ||
| + | |public | ||
|[[JTableContent::publish/11.1|publish]] | |[[JTableContent::publish/11.1|publish]] | ||
|Method to set the publishing state for a row or list of rows in the database table. | |Method to set the publishing state for a row or list of rows in the database table. | ||
|- | |- | ||
| + | |public | ||
|[[JTableContent::store/11.1|store]] | |[[JTableContent::store/11.1|store]] | ||
|Overriden to set modified data and user id. | |Overriden to set modified data and user id. | ||
|- | |- | ||
| + | |public | ||
|[[JTableContent::toXML/11.1|toXML]] | |[[JTableContent::toXML/11.1|toXML]] | ||
|Converts record to XML. | |Converts record to XML. | ||
|- | |- | ||
| + | |protected | ||
|[[JTableContent::_getAssetName/11.1|_getAssetName]] | |[[JTableContent::_getAssetName/11.1|_getAssetName]] | ||
|Method to compute the default name of the asset. | |Method to compute the default name of the asset. | ||
|- | |- | ||
| + | |protected | ||
|[[JTableContent::_getAssetParentId/11.1|_getAssetParentId]] | |[[JTableContent::_getAssetParentId/11.1|_getAssetParentId]] | ||
|Get the parent asset id for the record. | |Get the parent asset id for the record. | ||
|- | |- | ||
| + | |protected | ||
|[[JTableContent::_getAssetTitle/11.1|_getAssetTitle]] | |[[JTableContent::_getAssetTitle/11.1|_getAssetTitle]] | ||
|Method to return the title to use for the asset table. | |Method to return the title to use for the asset table. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/database/table/content.php | ||
| + | * '''Extends''' [[JTable/11.1|JTable]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.database.table.content' );</source> | <source lang="php">jimport( 'joomla.database.table.content' );</source> | ||
===See also=== | ===See also=== | ||
| − | * JTableContent source code | + | * {{JVer|11.1}} '''JTableContent source code''' on [[jplatform:database/table/content.php|BitBucket]] |
| − | * [[JTableContent|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Database/11.1|Database]] |
| + | * [[JTableContent|Other versions of JTableContent]] | ||
{{SeeAlso:JTableContent}} | {{SeeAlso:JTableContent}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableContent|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableContent|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 63: | Line 70: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JTableContent]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JTableContent]]</noinclude> | ||
Revision as of 18:09, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JTableContent
Description
Description:JTableContent [Edit Descripton]
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
SeeAlso:JTableContent [Edit See Also]
User contributed notes
<CodeExamplesForm />
