Mage_Api_Model_Server_Handler_Abstract
__construct
()
Call resource functionality
mixed
call
(string $sessionId, $apiPath, [array $args = array()], string $resourcePath)
-
string
$sessionId
-
string
$resourcePath
-
array
$args
-
$apiPath
End web service session
boolean
endSession
(string $sessionId)
List of global faults
array
globalFaults
(string $sessionId)
void
handlePhpError
( $errorCode, $errorMessage, $errorFile)
-
$errorCode
-
$errorMessage
-
$errorFile
Login user and Retrieve session id
string
login
(string $username, string $apiKey)
-
string
$username
-
string
$apiKey
Multiple calls of resource functionality
array
multiCall
(string $sessionId, [ $calls = array()], [array $options = array()])
-
string
$sessionId
-
array
$calls
-
array
$options
List of resource faults
array
resourceFaults
(string $sessionId, string $resourceName)
-
string
$sessionId
-
string
$resourceName
List of available resources
array
resources
(string $sessionId)
Start web service session
string
startSession
()
Dispatch webservice fault
void
_fault
(string $faultName, [string $resourceName = null], [string $customMessage = null])
-
string
$faultName
-
string
$resourceName
-
string
$customMessage
Retrive webservice fault as array
array
_faultAsArray
(string $faultName, [string $resourceName = null], [string $customMessage = null])
-
string
$faultName
-
string
$resourceName
-
string
$customMessage
Retrive webservice configuration
Retrive webservice server
Retrive webservice session
Check current user permission on resource and privilege
bool
_isAllowed
(string $resource, [string $privilege = null])
-
string
$resource
-
string
$privilege
Check session expiration
boolean
_isSessionExpired
()
Enter description here...
string
_prepareResourceModelName
(string $resource)