public function __construct(AleInterfaceRequest $request, AleInterfaceCache $cache = null, array $config = array()) { parent::__construct($request, $cache, $config); }
public function _retrieveXml(array $context, array $arguments) { $params = isset($arguments[0]) && is_array($arguments[0]) ? $arguments[0] : array(); $auth = isset($arguments[1]) ? $arguments[1] : ALE_AUTH_DEFAULT; $auth = $this->getAuth(reset($context), $auth); //let's add credentials first, remember kids: ALE_AUTH_DEFAULT is invalid $this->addCredentials($params, $auth); $arguments[0] = $params; return parent::_retrieveXml($context, $arguments); }