Difference between revisions of "JTableContent"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (moving preparation) |
||
(5 intermediate revisions by 2 users not shown) | |||
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 | ||
|- | |- | ||
− | |[[JTableContent::__construct | + | |public |
+ | |[[API17:JTableContent::__construct|__construct]] | ||
| | | | ||
|- | |- | ||
− | |[[JTableContent::bind | + | |public |
+ | |[[API17:JTableContent::bind|bind]] | ||
|Overloaded bind function. | |Overloaded bind function. | ||
|- | |- | ||
− | |[[JTableContent::check | + | |public |
+ | |[[API17:JTableContent::check|check]] | ||
|Overloaded check function. | |Overloaded check function. | ||
|- | |- | ||
− | |[[JTableContent::publish | + | |public |
+ | |[[API17:JTableContent::publish|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. | ||
|- | |- | ||
− | |[[JTableContent::store | + | |public |
+ | |[[API17:JTableContent::store|store]] | ||
|Overriden to set modified data and user id. | |Overriden to set modified data and user id. | ||
|- | |- | ||
− | |[[JTableContent::toXML | + | |public |
+ | |[[API17:JTableContent::toXML|toXML]] | ||
|Converts record to XML. | |Converts record to XML. | ||
|- | |- | ||
− | |[[JTableContent::_getAssetName | + | |protected |
+ | |[[API17:JTableContent::_getAssetName|_getAssetName]] | ||
|Method to compute the default name of the asset. | |Method to compute the default name of the asset. | ||
|- | |- | ||
− | |[[JTableContent::_getAssetParentId | + | |protected |
+ | |[[API17:JTableContent::_getAssetParentId|_getAssetParentId]] | ||
|Get the parent asset id for the record. | |Get the parent asset id for the record. | ||
|- | |- | ||
− | |[[JTableContent::_getAssetTitle | + | |protected |
+ | |[[API17:JTableContent::_getAssetTitle|_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''' [[API17:JTable|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|Other versions of | + | * {{JVer|11.1}} '''JTableContent source code''' on [[jplatform:database/table/content.php|BitBucket]] |
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage Database|Database]] | ||
+ | * [[API17: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 61: | Line 70: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:40, 11 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.
JTableContent[edit]
Description[edit]
Template:Description:JTableContent [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.database.table.content' );
See also[edit]
- JTableContent source code on BitBucket
- Subpackage Database
- Other versions of JTableContent
Template:SeeAlso:JTableContent [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />