Difference between revisions of "JTableCategory"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | =={{JVer|11.1}} JTableCategory== | ||
+ | ===Description=== | ||
+ | {{Description:JTableCategory}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JTableCategory|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableCategory|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
+ | |public | ||
|[[JTableCategory::__construct/11.1|__construct]] | |[[JTableCategory::__construct/11.1|__construct]] | ||
| | | | ||
|- | |- | ||
+ | |public | ||
|[[JTableCategory::bind/11.1|bind]] | |[[JTableCategory::bind/11.1|bind]] | ||
|Overloaded bind function. | |Overloaded bind function. | ||
|- | |- | ||
+ | |public | ||
|[[JTableCategory::check/11.1|check]] | |[[JTableCategory::check/11.1|check]] | ||
|Override check function. | |Override check function. | ||
|- | |- | ||
+ | |public | ||
|[[JTableCategory::store/11.1|store]] | |[[JTableCategory::store/11.1|store]] | ||
|Overriden to set created/modified and user id. | |Overriden to set created/modified and user id. | ||
|- | |- | ||
+ | |protected | ||
|[[JTableCategory::_getAssetName/11.1|_getAssetName]] | |[[JTableCategory::_getAssetName/11.1|_getAssetName]] | ||
|Method to compute the default name of the asset. | |Method to compute the default name of the asset. | ||
|- | |- | ||
+ | |protected | ||
|[[JTableCategory::_getAssetParentId/11.1|_getAssetParentId]] | |[[JTableCategory::_getAssetParentId/11.1|_getAssetParentId]] | ||
|Get the parent asset id for the record. | |Get the parent asset id for the record. | ||
|- | |- | ||
+ | |protected | ||
|[[JTableCategory::_getAssetTitle/11.1|_getAssetTitle]] | |[[JTableCategory::_getAssetTitle/11.1|_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/category.php | ||
+ | * '''Extends''' [[JTableNested/11.1|JTableNested]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.database.table.category' );</source> | <source lang="php">jimport( 'joomla.database.table.category' );</source> | ||
===See also=== | ===See also=== | ||
− | * JTableCategory source code | + | * {{JVer|11.1}} '''JTableCategory source code''' on [[jplatform:database/table/category.php|BitBucket]] |
− | * [[JTableCategory|Other versions of | + | * {{JVer|11.1}} Subpackage [[Subpackage Database/11.1|Database]] |
+ | * [[JTableCategory|Other versions of JTableCategory]] | ||
{{SeeAlso:JTableCategory}} | {{SeeAlso:JTableCategory}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableCategory|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableCategory|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 57: | Line 62: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JTableCategory]]</noinclude> | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JTableCategory]]</noinclude> |
Revision as of 18:09, 27 April 2011
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.
JTableCategory[edit]
Description[edit]
Template:Description:JTableCategory [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | |
public | bind | Overloaded bind function. |
public | check | Override check function. |
public | store | Overriden to set created/modified and user id. |
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/category.php
- Extends JTableNested
Importing[edit]
jimport( 'joomla.database.table.category' );
See also[edit]
- JTableCategory source code on BitBucket
- Subpackage Database
- Other versions of JTableCategory
Template:SeeAlso:JTableCategory [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />