API17

Difference between revisions of "JTable::publish"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎See also: moving preparation)
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JTable::publish|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JTable::publish|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JTable->publish ($pks=null, $state=1, $userId=0)
+
public function publish (
 +
        $pks=null
 +
        $state=1
 +
        $userId=0
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 1152 of libraries/joomla/database/table.php
===Defined in===
 
libraries/joomla/database/table.php
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JTable::publish source code''' on [[jplatform:database/table.php#cl-1144|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JTable|JTable]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
 +
* [[API17:JTable::publish|Other versions of JTable::publish]]
 +
{{SeeAlso:JTable::publish}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JTable::publish|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JTable::publish|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JTable/11.1|JTable]]
+
===User contributed notes===
* [[JTable::publish|Other versions of this method]]
 
{{SeeAlso:JTable::publish}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 55: Line 57:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JTable]][[Category:JTable::publish]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:39, 11 May 2013

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.

Joomla 11.1 JTable::publish[edit]

Description[edit]

Method to set the publishing state for a row or list of rows in the database table.

Template:Description:JTable::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 1152 of libraries/joomla/database/table.php

See also[edit]

Template:SeeAlso:JTable::publish [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />