phpDocumentor

AutoUpdaterSettings
in package

Class AutoUpdaterSettings

Table of Contents

$backupsDirectory  : string
$curl  : AutoUpdaterCurlClient
$dataProcessingAccepted  : bool
$db  : CI_DB_query_builder
$feedbackServerUrl  : string
$gambioStoreToken  : string
$shopBaseDirectory  : string
$updatesDirectory  : string
$updateServerUrl  : string
$writingPermissionValue  : int
__construct()  : mixed
AutoUpdaterSettings constructor.
backupsDirectory()  : string
Returns the directory path for the backups to be created.
dataProcessingAccepted()  : bool
Return the data processing accepting flag.
feedbackServerUrl()  : string
Returns the url of the update server.
getGambioStoreToken()  : string
Return the Gambio Store Token
normalDirectoryPermissionValue()  : int
Returns the correct chmod value for normal directory permission.
normalFilePermissionValue()  : int
Returns the correct chmod value for normal file permission.
shopBaseDirectory()  : string
Returns the base directory path of the shop.
updatesDirectory()  : string
Returns the directory path for the updates to be downloaded before moved into the shop.
updateServerUrl()  : string
Returns the url of the update server.
writingPermissionValue()  : int
Returns the correct chmod value for writing permission.
createTestFile()  : mixed
Creates a test file for the permission check.
determineCorrectFilePermission()  : int
Determines the needed file permissions for writing operations.
determineFeedbackServerUrl()  : int
Determines the url of the feedback server.
determineUpdateServerUrl()  : int
Determines the url of the update server.
getGmConf()  : mixed
Returns a configuration value for a given configuration key.
isAccessible()  : bool
Checks the accessibility of a file by using curl.

Properties

Methods

backupsDirectory()

Returns the directory path for the backups to be created.

public backupsDirectory() : string
Return values
string

dataProcessingAccepted()

Return the data processing accepting flag.

public dataProcessingAccepted() : bool
Return values
bool

True, if an admin accepted the data processing, otherwise false.

feedbackServerUrl()

Returns the url of the update server.

public feedbackServerUrl() : string
Return values
string

getGambioStoreToken()

Return the Gambio Store Token

public getGambioStoreToken() : string
Return values
string

normalDirectoryPermissionValue()

Returns the correct chmod value for normal directory permission.

public normalDirectoryPermissionValue() : int
Return values
int

normalFilePermissionValue()

Returns the correct chmod value for normal file permission.

public normalFilePermissionValue() : int
Return values
int

shopBaseDirectory()

Returns the base directory path of the shop.

public shopBaseDirectory() : string
Return values
string

updatesDirectory()

Returns the directory path for the updates to be downloaded before moved into the shop.

public updatesDirectory() : string
Return values
string

updateServerUrl()

Returns the url of the update server.

public updateServerUrl() : string
Return values
string

writingPermissionValue()

Returns the correct chmod value for writing permission.

public writingPermissionValue() : int
Return values
int

createTestFile()

Creates a test file for the permission check.

protected createTestFile(string $path, int $chmod) : mixed
Parameters
$path : string
$chmod : int
Return values
mixed

determineCorrectFilePermission()

Determines the needed file permissions for writing operations.

protected determineCorrectFilePermission() : int
Return values
int

determineFeedbackServerUrl()

Determines the url of the feedback server.

protected determineFeedbackServerUrl() : int
Return values
int

determineUpdateServerUrl()

Determines the url of the update server.

protected determineUpdateServerUrl() : int
Return values
int

getGmConf()

Returns a configuration value for a given configuration key.

protected getGmConf(string $key) : mixed
Parameters
$key : string
Return values
mixed

isAccessible()

Checks the accessibility of a file by using curl.

protected isAccessible(string $url) : bool
Parameters
$url : string

URL to the file.

Return values
bool

True, if the file is accessible by curl, otherwise false.

Search results