JTableMenu

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(New page: '''JTableMenu''' is a concrete table class which handles data-rows of the '''#__menu''' table. ===Availability=== {{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}} ===Defined in=== /j...)
 
m (bad link repair)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''JTableMenu''' is a concrete table class which handles data-rows of the '''#__menu''' table.
+
This class is available in the following Joomla versions:-
 
+
<splist showpath=notparent />
===Availability===
+
<noinclude>[[Category:Platform JClasses]][[Category:JTableMenu]]</noinclude>
{{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}}
+
 
+
===Defined in===
+
/joomla/database/table/menu.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
+
|
+
|-
+
|alias
+
|The Menu alias
+
|-
+
|browserNav
+
|
+
|-
+
|checked_out
+
|Is menu checked out for editing?
+
|-
+
|checked_out_time
+
|Time of Checkout
+
|-
+
|componentid
+
|ID of corresponding component
+
|-
+
|home
+
|
+
|-
+
|id
+
|Primary Key
+
|-
+
|lft
+
|Pre-order tree traversal - left value
+
|-
+
|link
+
|Hyperlink of this Menu item
+
|-
+
|menutype
+
|
+
|-
+
|name
+
|
+
|-
+
|ordering
+
|
+
|-
+
|params
+
|Menu Parameters
+
|-
+
|parent
+
|Parent menu-item-ID
+
|-
+
|pollid
+
|
+
|-
+
|published
+
|Is this menu-item published
+
|-
+
|rgt
+
|Pre-order tree traversal - right-value
+
|-
+
|sublevel
+
|
+
|-
+
|type
+
|
+
|-
+
|utaccess
+
|
+
|}
+
 
+
===Methods===
+
{| class="wikitable"
+
|-
+
!Method name
+
!Description
+
|-
+
|[[JTableMenu/__construct|__construct]]
+
|Constructor. Takes table name, primary key and database reference.
+
|-
+
|[[JTableMenu/bind]]
+
|Overloaded bind function
+
|-
+
|[[JTableMenu/check|check]]
+
|Overloaded check function
+
|}
+
===Importing===
+
<source lang="php">jimport( 'joomla.database.table.content' );</source>
+
 
+
===See also===
+
* [http://api.joomla.org/Joomla-Framework/Table/JTableMenu.html JTableMenu on api.joomla.org]
+
* [[JTable]]
+
<noinclude>[[Category:Development]][[Category:Framework]][[Category:JTableMenu]]</noinclude>
+

Latest revision as of 14:04, 29 August 2012

This class is available in the following Joomla versions:-

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox