HumHub Documentation (unofficial)

FirefoxProfile
in package

Table of Contents

Properties

$extensions  : array<string|int, mixed>
$extensions_datas  : array<string|int, mixed>
$preferences  : array<string|int, mixed>
$rdf_file  : string

Methods

addExtension()  : FirefoxProfile
addExtensionDatas()  : FirefoxProfile
encode()  : string
getPreference()  : mixed
setPreference()  : FirefoxProfile
setRdfFile()  : FirefoxProfile
createTempDirectory()  : string
deleteDirectory()  : mixed
extractTo()  : FirefoxProfile
installExtension()  : mixed
parseExtensionName()  : mixed

Properties

$extensions_datas

private array<string|int, mixed> $extensions_datas = []

Methods

addExtensionDatas()

public addExtensionDatas(string $extension_datas) : FirefoxProfile
Parameters
$extension_datas : string

The path to the folder containing the datas to add to the extension

Return values
FirefoxProfile

getPreference()

public getPreference(mixed $key) : mixed
Parameters
$key : mixed

createTempDirectory()

private createTempDirectory([string $prefix = '' ]) : string
Parameters
$prefix : string = ''

Prefix of the temp directory.

Tags
throws
IOException
Return values
string

The path to the temp directory created.

deleteDirectory()

private deleteDirectory(string $directory) : mixed
Parameters
$directory : string

The path to the directory.

installExtension()

private installExtension(string $extension, string $profileDir) : mixed
Parameters
$extension : string

The path to the extension.

$profileDir : string

The path to the profile directory.

Tags
throws
IOException

parseExtensionName()

private parseExtensionName(mixed $extensionPath) : mixed
Parameters
$extensionPath : mixed

        
On this page

Search results