|
|
| (5 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| − | '''JTableCategory''' is a concrete table class which handles data-rows of the '''#__categories''' table.
| + | This class is available in the following Joomla versions:- |
| − | | + | <splist showpath=notparent /> |
| − | ===Availability===
| + | <noinclude>[[Category:Platform JClasses]][[Category:JTableCategory]]</noinclude> |
| − | {{JVer|1.5|From Joomla 1.5}} {{JVer|1.6|Joomla 1.6}}
| + | |
| − | | + | |
| − | ===Defined in===
| + | |
| − | /joomla/database/table/category.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 alias for the cagegory
| + | |
| − | |-
| + | |
| − | |checked_out
| + | |
| − | |1 for checked out, default 0
| + | |
| − | |-
| + | |
| − | |checked_out_time
| + | |
| − | |Time of check out
| + | |
| − | |-
| + | |
| − | |id
| + | |
| − | |Category ID. Primary Key.
| + | |
| − | |-
| + | |
| − | |image
| + | |
| − | |Category Image.
| + | |
| − | |-
| + | |
| − | |name
| + | |
| − | |The full name of the category
| + | |
| − | |-
| + | |
| − | |ordering
| + | |
| − | |Category Ordering
| + | |
| − | |-
| + | |
| − | |parent_id
| + | |
| − | |parent categroy of this category
| + | |
| − | |-
| + | |
| − | |published
| + | |
| − | |1 if published, default null
| + | |
| − | |-
| + | |
| − | |section
| + | |
| − | |The section id
| + | |
| − | |-
| + | |
| − | |title
| + | |
| − | |The menu title for the category (a short name)
| + | |
| − | |}
| + | |
| − | | + | |
| − | ===Methods===
| + | |
| − | {| class="wikitable"
| + | |
| − | |-
| + | |
| − | !Method name
| + | |
| − | !Description
| + | |
| − | |-
| + | |
| − | |[[JTableCategory/__construct|__construct]]
| + | |
| − | |Constructor. Takes table name, primary key and database reference.
| + | |
| − | |}
| + | |
| − | | + | |
| − | ===Importing===
| + | |
| − | <source lang="php">jimport( 'joomla.database.table.category' );</source> | + | |
| − | | + | |
| − | ===See also===
| + | |
| − | * [http://api.joomla.org/Joomla-Framework/Table/JTableCategory.html JTableCategory on api.joomla.org]
| + | |
| − | * [[JTable]]
| + | |
| − | <noinclude>[[Category:Development]][[Category:Framework]][[Category:JTableCategory]]</noinclude> | + | |
Latest revision as of 14:04, 29 August 2012
This class is available in the following Joomla versions:-