Back to Installer class

Method __construct

public
__construct
(mixed $basepath = __DIR__, mixed $classprefix = '\\Joomla\\CMS\\Installer\\Adapter', mixed $adapterfolder = 'Adapter')
Constructor
Parameters
  • string $basepath Base Path of the adapters
  • string $classprefix Class prefix of adapters
  • string $adapterfolder Name of folder to append to base path
Since
  • 3.1
Class: Installer
Project: Joomla

Method __construct - Source code

/**
 * Constructor
 *
 * @param   string  $basepath       Base Path of the adapters
 * @param   string  $classprefix    Class prefix of adapters
 * @param   string  $adapterfolder  Name of folder to append to base path
 *
 * @since   3.1
 */
public function __construct($basepath = __DIR__, $classprefix = '\\Joomla\\CMS\\Installer\\Adapter', $adapterfolder = 'Adapter')
{
    parent::__construct($basepath, $classprefix, $adapterfolder);
    $this->extension = Table::getInstance('extension');
}