|
|
| 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:Framework]][[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|bind]]
| + | |
| − | |Overloaded bind function
| + | |
| − | |-
| + | |
| − | |[[JTableMenu/check|check]]
| + | |
| − | |Overloaded check function
| + | |
| − | |}
| + | |
| − | | + | |
| − | ===Importing===
| + | |
| − | <source lang="php">jimport( 'joomla.database.table.menu' );</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> | + | |