Package DE_EPAGES::AppStore::API::Object::ScriptTagAppClient
Client for OAuth access token operations for the script-tag ressource.
Base |
DE_EPAGES::AppStore::API::Object::DeveloperAppsClient |
Functions
- addScriptTag
- create
- createApp
- deleteApp
- deleteScriptTag
- existsApp
- getAllScriptTags
- getApp
- getScriptTag
- isScriptTagPresent
- new
addScriptTag
Adds a script tag to the current shop.
Syntax |
$ScriptTagAppClient->addScriptTag($ScriptUrl); |
Input |
|
create
Factory method for a ScriptTagAppClient object. Initializes based on the current configuration.
Syntax |
$ScriptTagAppClient = DE_EPAGES::AppStore::API::Object::ScriptTagAppClient->create($hArgs); |
Return |
|
createApp
Creates the EpagesUIScriptTags app for the current shop.
Syntax |
$ScriptTagApp = $ScriptTagAppClient->createApp(); |
Return |
|
deleteApp
Deletes the EpagesUIScriptTags app for the current shop.
Syntax |
$ScriptTagAppClient->deleteApp(); |
deleteScriptTag
Deletes a script tag from the current shop.
Syntax |
$ScriptTagAppClient->deleteScriptTag($ScriptUrl); |
Input |
|
existsApp
Returns true, if the EpagesUIScriptTags app is installed for the current shop, false if not.
Syntax |
$ExistsApp = $ScriptTagAppClient->existsApp(); |
Return |
|
getAllScriptTags
Returns all script-tags related to the app.
Syntax |
$ScriptTagAppClient->getAllScriptTags(); |
Return |
|
getApp
Returns the EpagesUIScriptTags app of the current shop.
Syntax |
$ScriptTagApp = $ScriptTagAppClient->getApp(); |
Return |
|
getScriptTag
Returns the script-tag of the given Url if any.
Syntax |
$ScriptTagAppClient->getScriptTag($ScriptUrl); |
Input |
|
Return |
|
isScriptTagPresent
Check if a given Url has been already added to the script-tags.
Syntax |
$ScriptTagAppClient->isScriptTagPresent($ScriptUrl); |
Input |
|
Return |
|
new
Instanciates a new ScriptTagAppClient.
Syntax |
DE_EPAGES::AppStore::API::Object::ScriptTagAppClient->new( %args ); |
Input |
|
Return |
|