JTableModule

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(New page: '''JTableModule''' is a concrete table class which handles data-rows of the '''#__modules''' table. ===Availability=== {{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}} ===Defined in=...)
 
(Bulk upload by Doxiki2)
Line 1: Line 1:
'''JTableModule''' is a concrete table class which handles data-rows of the '''#__modules''' table.
+
This class is available in the following Joomla versions:-
 
+
<splist showpath=notparent />
===Availability===
+
<noinclude>[[Category:Framework]][[Category:JTableModule]]</noinclude>
{{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}}
+
 
+
===Defined in===
+
/joomla/database/table/module.php
+
 
+
===Extends===
+
* [[JTable]]
+
 
+
===Reserved Database Field Names===
+
The operation of this class is dependent on the existence of specially-named fields (columns) in the database table.
+
{| class="wikitable"
+
|-
+
!Field name
+
!Description
+
|-
+
|access
+
|
+
|-
+
|checked_out
+
|Is Module checked out for editing?
+
|-
+
|checked_out_time
+
|Time of check out
+
|-
+
|client_id
+
|
+
|-
+
|content
+
|
+
|-
+
|control
+
|
+
|-
+
|id
+
|Primary key
+
|-
+
|iscore
+
|
+
|-
+
|module
+
|
+
|-
+
|numnews
+
|
+
|-
+
|ordering
+
|
+
|-
+
|params
+
|
+
|-
+
|position
+
|
+
|-
+
|published
+
|Is the module published?
+
|-
+
|showtitle
+
|
+
|-
+
|title
+
|Module Title
+
|
+
|}
+
 
+
===Methods===
+
{| class="wikitable"
+
|-
+
!Method name
+
!Description
+
|-
+
|[[JTableModule/__construct|__construct]]
+
|Constructor. Takes table name, primary key and database reference.
+
|-
+
|[[JTableModule/bind|bind]]
+
|Overloaded bind function
+
|-
+
|[[JTableModule/check|check]]
+
|Overloaded check function
+
|}
+
===Importing===
+
<source lang="php">jimport( 'joomla.database.table.module' );</source>
+
 
+
===See also===
+
* [http://api.joomla.org/Joomla-Framework/Table/JTableModule.html JTableModule on api.joomla.org]
+
* [[JTable]]
+
<noinclude>[[Category:Development]][[Category:Framework]][[Category:JTableModule]]</noinclude>
+

Revision as of 16:31, 17 April 2011

This class is available in the following Joomla versions:-

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox