Actions

API17

Difference between revisions of "JInstaller::setOverwrite"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JInstaller::setOverwrite|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JInstaller::setOverwrite|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JInstaller->setOverwrite ($state=false)
+
public function setOverwrite ($state=false)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 24: Line 21:
 
|boolean
 
|boolean
 
|false
 
|false
|Overwrite switch state  
+
|Overwrite switch state
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean Previous value
boolean Previous value
+
* '''Defined''' on line 137 of libraries/joomla/installer/installer.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/installer/installer.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JInstaller::setOverwrite source code''' on [[jplatform:installer/installer.php#cl-129|BitBucket]]
 +
* {{JVer|11.1}} Class [[JInstaller/11.1|JInstaller]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]]
 +
* [[JInstaller::setOverwrite|Other versions of JInstaller::setOverwrite]]
 +
{{SeeAlso:JInstaller::setOverwrite}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::setOverwrite|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JInstaller::setOverwrite|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JInstaller/11.1|JInstaller]]
+
===User contributed notes===
* [[JInstaller::setOverwrite|Other versions of this method]]
+
{{SeeAlso:JInstaller::setOverwrite}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::setOverwrite]]</noinclude>
 
<noinclude>[[Category:JInstaller]][[Category:JInstaller::setOverwrite]]</noinclude>

Revision as of 21:12, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JInstaller::setOverwrite

Description

Set the allow overwrite switch.

Description:JInstaller::setOverwrite [Edit Descripton]

public function setOverwrite ($state=false)
Parameter Type Default Description
$state boolean false Overwrite switch state
  • Returns boolean Previous value
  • Defined on line 137 of libraries/joomla/installer/installer.php
  • Since Joomla 11.1

See also

SeeAlso:JInstaller::setOverwrite [Edit See Also]

User contributed notes

<CodeExamplesForm />