Пример #1
0
 /**
  * Wrapper method to fetch OAuth url from ShopgatePluginApi
  *
  * @param string $shopgateOAuthActionName
  * @return string
  */
 public function buildShopgateOAuthUrl($shopgateOAuthActionName)
 {
     return $this->pluginApi->buildShopgateOAuthUrl($shopgateOAuthActionName);
 }
Пример #2
0
 /**
  * Convenience method to call ShopgatePluginApi::handleRequest() from $this.
  *
  * @param mixed[] $data The incoming request's parameters.
  * @return bool false if an error occured, otherwise true.
  */
 public final function handleRequest($data = array())
 {
     return $this->pluginApi->handleRequest($data);
 }