API17

API17:JInstaller::setUpgrade

From Joomla! Documentation

Joomla 11.1 JInstaller::setUpgrade

Description

Set the allow overwrite switch.


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

See also


User contributed notes

Code Examples