API17:JTableExtension::publish
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JTableExtension::publish|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableExtension::publish|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function publish ( |
| + | $pks=null | ||
| + | $state=1 | ||
| + | $userId=0 | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 101 of libraries/joomla/database/table/extension.php | |
| − | + | ||
| − | libraries/joomla/database/table/extension.php | + | |
| − | + | ||
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JTableExtension::publish source code''' on [[jplatform:database/table/extension.php#cl-93|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JTableExtension/11.1|JTableExtension]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JTableExtension::publish|Other versions of JTableExtension::publish]] | ||
| + | {{SeeAlso:JTableExtension::publish}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableExtension::publish|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableExtension::publish|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 56: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JTableExtension]][[Category:JTableExtension::publish]]</noinclude> | <noinclude>[[Category:JTableExtension]][[Category:JTableExtension::publish]]</noinclude> | ||
Revision as of 21:47, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JTableExtension::publish
Description
Method to set the publishing state for a row or list of rows in the database table.
Description:JTableExtension::publish [Edit Descripton]
public function publish ( $pks=null $state=1 $userId=0 )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pks | null | ||
| $state | 1 | ||
| $userId | 0 |
- Returns
- Defined on line 101 of libraries/joomla/database/table/extension.php
See also
-
JTableExtension::publish source code on BitBucket
-
Class JTableExtension
-
Subpackage Database
- Other versions of JTableExtension::publish
SeeAlso:JTableExtension::publish [Edit See Also]
User contributed notes
<CodeExamplesForm />
