21 require_once SQ_INCLUDE_PATH.
'/asset.inc';
46 parent::__construct($assetid);
62 return $this->
attr(
'name');
77 if ($this->
attr(
'use_proxy') ==
'No')
return Array();
79 if ($this->
attr(
'use_proxy') ==
'Yes') {
82 'proxy_host' => $this->
attr(
'proxy_host'),
83 'proxy_port' => (
int) $this->
attr(
'proxy_port'),
84 'proxy_login' => $this->
attr(
'proxy_login'),
85 'proxy_password' => $this->
attr(
'proxy_password'),
90 require_once(SQ_DATA_PATH.
'/private/conf/proxy_authentication.inc');
93 'proxy_host' => SQ_PA_HOSTNAME,
94 'proxy_port' => (
int) SQ_PA_PORT,
95 'proxy_login' => SQ_PA_USERNAME,
96 'proxy_password' => base64_decode(SQ_PA_PASSWORD),