API17

Difference between revisions of "JTableContent"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
(4 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>
{{Description:JTableContent}}
 
===Defined in===
 
libraries/joomla/database/table/content.php
 
* see source code in [[jplatform:database/table/content.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Database/11.1|Database]]
 
===Extends===
 
[[JTable/11.1|JTable]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JTableContent::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JTableContent::__construct|__construct]]
 
|
 
|
 
|-
 
|-
|[[JTableContent::bind/11.1|bind]]
+
|public
 +
|[[API17:JTableContent::bind|bind]]
 
|Overloaded bind function.  
 
|Overloaded bind function.  
 
|-
 
|-
|[[JTableContent::check/11.1|check]]
+
|public
 +
|[[API17:JTableContent::check|check]]
 
|Overloaded check function.  
 
|Overloaded check function.  
 
|-
 
|-
|[[JTableContent::publish/11.1|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/11.1|store]]
+
|public
 +
|[[API17:JTableContent::store|store]]
 
|Overriden  to set modified data and user id.  
 
|Overriden  to set modified data and user id.  
 
|-
 
|-
|[[JTableContent::toXML/11.1|toXML]]
+
|public
 +
|[[API17:JTableContent::toXML|toXML]]
 
|Converts record to XML.  
 
|Converts record to XML.  
 
|-
 
|-
|[[JTableContent::_getAssetName/11.1|_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/11.1|_getAssetParentId]]
+
|protected
 +
|[[API17:JTableContent::_getAssetParentId|_getAssetParentId]]
 
|Get the parent asset id for the record.  
 
|Get the parent asset id for the record.  
 
|-
 
|-
|[[JTableContent::_getAssetTitle/11.1|_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 source code in [[jplatform:database/table/content.php|BitBucket]]
+
* {{JVer|11.1}} '''JTableContent source code''' on [[jplatform:database/table/content.php|BitBucket]]
* [[JTableContent|Other versions of this class]]
+
* {{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>
===Examples===
+
===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 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.

Joomla 11.1 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]

Template:SeeAlso:JTableContent [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />