18 require_once SQ_PACKAGES_PATH.
'/web_services/rest/page_templates/page_rest_resource/page_rest_resource.inc';
33 private $_errors = Array();
43 parent::__construct($assetid);
58 $GLOBALS[
'SQ_SYSTEM']->setGlobalDefine(
'SQ_REPLACE_MYSOURCE_LEVEL_KEYWORDS', $this->
attr(
'allow_global_replace'));
85 $auth_headers = Array();
86 if (empty($urls) || !isset($args[
'method']))
return Array();
90 foreach ($args as $config_name => $config_value) {
91 $oauth->setConfig($config_name, $config_value);
95 foreach ($urls as $url) {
96 $auth_headers[$url] = $oauth->getUserDataAuthHeader($url);