????

Your IP : 3.140.196.48


Current Path : /usr/share/aps_php/
Upload File :
Current File : //usr/share/aps_php/aps_php.php

<?php

/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 4.0.1
 *
 * This file is not intended to be easily readable and contains a number of
 * coding conventions designed to improve portability and efficiency. Do not make
 * changes to this file unless you know what you are doing--modify the SWIG
 * interface file instead.
 * ----------------------------------------------------------------------------- */

// Try to load our extension if it's not already loaded.
if (!extension_loaded('aps_php')) {
  if (strtolower(substr(PHP_OS, 0, 3)) === 'win') {
    if (!dl('php_aps_php.dll')) return;
  } else {
    // PHP_SHLIB_SUFFIX gives 'dylib' on MacOS X but modules are 'so'.
    if (PHP_SHLIB_SUFFIX === 'dylib') {
      if (!dl('aps_php.so')) return;
    } else {
      if (!dl('aps_php.'.PHP_SHLIB_SUFFIX)) return;
    }
  }
}



abstract class aps_php {
	static function createGUID() {
		return createGUID();
	}

	static function isValidGUID($guid_str) {
		return isValidGUID($guid_str);
	}

	static function APSVer100_get() {
		return APSVer100_get();
	}

	static function APSVer110_get() {
		return APSVer110_get();
	}

	static function APSVer120_get() {
		return APSVer120_get();
	}

	static function apacheNS_get() {
		return apacheNS_get();
	}

	static function aspnetNS_get() {
		return aspnetNS_get();
	}

	static function CGINS_get() {
		return CGINS_get();
	}

	static function databaseNS_get() {
		return databaseNS_get();
	}

	static function dnsNS_get() {
		return dnsNS_get();
	}

	static function environmentNS_get() {
		return environmentNS_get();
	}

	static function hardwareNS_get() {
		return hardwareNS_get();
	}

	static function iisNS_get() {
		return iisNS_get();
	}

	static function licenseNS_get() {
		return licenseNS_get();
	}

	static function mailNS_get() {
		return mailNS_get();
	}

	static function perlNS_get() {
		return perlNS_get();
	}

	static function phpNS_get() {
		return phpNS_get();
	}

	static function pvcNS_get() {
		return pvcNS_get();
	}

	static function webspaceNS_get() {
		return webspaceNS_get();
	}

	static function serviceNS_get() {
		return serviceNS_get();
	}

	static function matchingNS_get() {
		return matchingNS_get();
	}

	static function choiceNS_get() {
		return choiceNS_get();
	}

	static function getPackageInfo($metafile_uri) {
		$r=getPackageInfo($metafile_uri);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PackageInfo($r);
		}
		return $r;
	}

	const DBTYPE_MYSQL = 0;

	const DBTYPE_MSSQL = DBTYPE_MSSQL;

	const DBTYPE_POSTGRESQL = DBTYPE_POSTGRESQL;

	static function ENVIRONMENT_RESOURCE_TYPE_get() {
		return ENVIRONMENT_RESOURCE_TYPE_get();
	}

	static function PVC_CONTAINER_RESOURCE_TYPE_get() {
		return PVC_CONTAINER_RESOURCE_TYPE_get();
	}

	static function DATABASE_RESOURCE_TYPE_get() {
		return DATABASE_RESOURCE_TYPE_get();
	}

	static function DNS_RECORD_RESOURCE_TYPE_get() {
		return DNS_RECORD_RESOURCE_TYPE_get();
	}

	static function MAILBOX_RESOURCE_TYPE_get() {
		return MAILBOX_RESOURCE_TYPE_get();
	}

	static function OUTGOING_MAIL_RESOURCE_TYPE_get() {
		return OUTGOING_MAIL_RESOURCE_TYPE_get();
	}

	static function LICENSE_RESOURCE_TYPE_get() {
		return LICENSE_RESOURCE_TYPE_get();
	}

	static function DOMAIN_RESOURCE_TYPE_get() {
		return DOMAIN_RESOURCE_TYPE_get();
	}

	static function IPADDRESS_RESOURCE_TYPE_get() {
		return IPADDRESS_RESOURCE_TYPE_get();
	}

	static function USER_RESOURCE_TYPE_get() {
		return USER_RESOURCE_TYPE_get();
	}

	static function SERVICE_RESOURCE_TYPE_get() {
		return SERVICE_RESOURCE_TYPE_get();
	}

	static function REQUIREMENTCHOICE_RESOURCE_TYPE_get() {
		return REQUIREMENTCHOICE_RESOURCE_TYPE_get();
	}

	static function APACHE_RESOURCE_TYPE_get() {
		return APACHE_RESOURCE_TYPE_get();
	}

	static function ASP_RESOURCE_TYPE_get() {
		return ASP_RESOURCE_TYPE_get();
	}

	static function HARDWARE_RESOURCE_TYPE_get() {
		return HARDWARE_RESOURCE_TYPE_get();
	}

	static function IIS_RESOURCE_TYPE_get() {
		return IIS_RESOURCE_TYPE_get();
	}

	static function PERL_RESOURCE_TYPE_get() {
		return PERL_RESOURCE_TYPE_get();
	}

	static function PHP_RESOURCE_TYPE_get() {
		return PHP_RESOURCE_TYPE_get();
	}

	static function WEBSPACE_RESOURCE_TYPE_get() {
		return WEBSPACE_RESOURCE_TYPE_get();
	}

	static function getPackageMetaInfo($metafile_uri) {
		$r=getPackageMetaInfo($metafile_uri);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PackageInfo($r);
		}
		return $r;
	}

	static function createBackupArchive($registry_config,$archive_content) {
		$r=createBackupArchive($registry_config,$archive_content);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_BackupArchive($r);
		}
		return $r;
	}

	static function setEncryptionKey($key,$keysz) {
		setEncryptionKey($key,$keysz);
	}

	static function RC_OK_get() {
		return RC_OK_get();
	}

	static function RC_SETTING_VERIFICATION_FAILED_get() {
		return RC_SETTING_VERIFICATION_FAILED_get();
	}

	static function RC_SETTING_INVLAID_NUMERIC_get() {
		return RC_SETTING_INVLAID_NUMERIC_get();
	}

	static function RC_SETTING_INVALID_HOSTNAME_get() {
		return RC_SETTING_INVALID_HOSTNAME_get();
	}

	static function RC_SETTING_INVALID_DOMAIN_get() {
		return RC_SETTING_INVALID_DOMAIN_get();
	}

	static function RC_SETTING_INVALID_EMAIL_get() {
		return RC_SETTING_INVALID_EMAIL_get();
	}

	static function RC_SETTING_INVALID_ENUM_VALUE_get() {
		return RC_SETTING_INVALID_ENUM_VALUE_get();
	}

	static function RC_SETTING_INVALID_BOOLEAN_get() {
		return RC_SETTING_INVALID_BOOLEAN_get();
	}

	static function RC_SETTING_PATTERN_MISMATCH_get() {
		return RC_SETTING_PATTERN_MISMATCH_get();
	}

	static function RC_SETTING_MIN_LENGTH_MISMATCH_get() {
		return RC_SETTING_MIN_LENGTH_MISMATCH_get();
	}

	static function RC_SETTING_MAX_LENGTH_MISMATCH_get() {
		return RC_SETTING_MAX_LENGTH_MISMATCH_get();
	}

	static function RC_SETTING_MIN_VALUE_MISMATCH_get() {
		return RC_SETTING_MIN_VALUE_MISMATCH_get();
	}

	static function RC_SETTING_MAX_VALUE_MISMATCH_get() {
		return RC_SETTING_MAX_VALUE_MISMATCH_get();
	}

	static function RC_SETTING_INVALID_IP_get() {
		return RC_SETTING_INVALID_IP_get();
	}

	static function RC_SETTING_MANDATORY_VALUE_NOT_SPECIFIED_get() {
		return RC_SETTING_MANDATORY_VALUE_NOT_SPECIFIED_get();
	}

	static function RC_SETTING_INVLAID_INTEGER_get() {
		return RC_SETTING_INVLAID_INTEGER_get();
	}

	static function RC_SETTING_INVLAID_FLOAT_get() {
		return RC_SETTING_INVLAID_FLOAT_get();
	}

	static function RC_SETTING_LIST_TOO_MANY_VALUES_get() {
		return RC_SETTING_LIST_TOO_MANY_VALUES_get();
	}

	static function RC_SETTING_LIST_NOT_ENOUGH_VALUES_get() {
		return RC_SETTING_LIST_NOT_ENOUGH_VALUES_get();
	}

	static function RC_SETTING_UNIQUE_VALIDATION_FAILED_get() {
		return RC_SETTING_UNIQUE_VALIDATION_FAILED_get();
	}

	static function RC_SETTING_INVALID_DATE_get() {
		return RC_SETTING_INVALID_DATE_get();
	}

	static function RC_SETTING_INVALID_TIME_get() {
		return RC_SETTING_INVALID_TIME_get();
	}

	static function vercmp($vs1,$vs2) {
		return vercmp($vs1,$vs2);
	}

	static function findService($services,$service_id) {
		$r=findService($services,$service_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfo($r);
		}
		return $r;
	}
}

/* PHP Proxy Classes */
class APS_StringValues {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($n_or_other=null) {
		if (is_resource($n_or_other) && get_resource_type($n_or_other) === '_p_std__vectorT_std__string_t') {
			$this->_cPtr=$n_or_other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_StringValues(); break;
		default: $this->_cPtr=new_APS_StringValues($n_or_other);
		}
	}

	function size() {
		return APS_StringValues_size($this->_cPtr);
	}

	function capacity() {
		return APS_StringValues_capacity($this->_cPtr);
	}

	function reserve($n) {
		APS_StringValues_reserve($this->_cPtr,$n);
	}

	function clear() {
		APS_StringValues_clear($this->_cPtr);
	}

	function push($x) {
		APS_StringValues_push($this->_cPtr,$x);
	}

	function is_empty() {
		return APS_StringValues_is_empty($this->_cPtr);
	}

	function pop() {
		return APS_StringValues_pop($this->_cPtr);
	}

	function get($i) {
		return APS_StringValues_get($this->_cPtr,$i);
	}

	function set($i,$val) {
		APS_StringValues_set($this->_cPtr,$i,$val);
	}
}

class APS_OptString {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_std__string_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_OptString(); break;
		default: $this->_cPtr=new_APS_OptString($val);
		}
	}

	function isInitialized() {
		return APS_OptString_isInitialized($this->_cPtr);
	}

	function getValue() {
		return APS_OptString_getValue($this->_cPtr);
	}
}

class APS_OptLong {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_long_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_OptLong(); break;
		default: $this->_cPtr=new_APS_OptLong($val);
		}
	}

	function isInitialized() {
		return APS_OptLong_isInitialized($this->_cPtr);
	}

	function getValue() {
		return APS_OptLong_getValue($this->_cPtr);
	}
}

class APS_OptUInt {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_unsigned_int_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_OptUInt(); break;
		default: $this->_cPtr=new_APS_OptUInt($val);
		}
	}

	function isInitialized() {
		return APS_OptUInt_isInitialized($this->_cPtr);
	}

	function getValue() {
		return APS_OptUInt_getValue($this->_cPtr);
	}
}

class APS_OptBoolean {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_bool_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_OptBoolean(); break;
		default: $this->_cPtr=new_APS_OptBoolean($val);
		}
	}

	function isInitialized() {
		return APS_OptBoolean_isInitialized($this->_cPtr);
	}

	function getValue() {
		return APS_OptBoolean_getValue($this->_cPtr);
	}
}

class APS_Meta_OptIISPoolType {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__IIS__RequirementInfo__pool_type_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptIISPoolType(); break;
		default: $this->_cPtr=new_APS_Meta_OptIISPoolType($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptIISPoolType_isInitialized($this->_cPtr);
	}

	function getValue() {
		return APS_Meta_OptIISPoolType_getValue($this->_cPtr);
	}
}

class APS_Meta_OptServiceInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__ServiceInfo_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptServiceInfo(); break;
		default: $this->_cPtr=new_APS_Meta_OptServiceInfo($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptServiceInfo_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Meta_OptServiceInfo_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfo($r);
		}
		return $r;
	}
}

class APS_Meta_OptHardwareConfiguration {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__Hardware__Configuration_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptHardwareConfiguration(); break;
		default: $this->_cPtr=new_APS_Meta_OptHardwareConfiguration($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptHardwareConfiguration_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Meta_OptHardwareConfiguration_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_HardwareConfiguration($r);
		}
		return $r;
	}
}

class APS_Meta_OptDNSAddress {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__DNS__Address_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptDNSAddress(); break;
		default: $this->_cPtr=new_APS_Meta_OptDNSAddress($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptDNSAddress_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Meta_OptDNSAddress_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSAddress($r);
		}
		return $r;
	}
}

class APS_Meta_OptContentDeliveryInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__ContentDeliveryInfo_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptContentDeliveryInfo(); break;
		default: $this->_cPtr=new_APS_Meta_OptContentDeliveryInfo($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptContentDeliveryInfo_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Meta_OptContentDeliveryInfo_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ContentDeliveryInfo($r);
		}
		return $r;
	}
}

class APS_Meta_OptPVCCheckSum {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__PVC__CheckSum_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptPVCCheckSum(); break;
		default: $this->_cPtr=new_APS_Meta_OptPVCCheckSum($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptPVCCheckSum_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Meta_OptPVCCheckSum_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PVCCheckSum($r);
		}
		return $r;
	}
}

class APS_Meta_ServiceInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__ServiceInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_ServiceInfoList();
	}

	function isEmpty() {
		return APS_Meta_ServiceInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_ServiceInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_ServiceInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfo($r);
		}
		return $r;
	}
}

class APS_Meta_ContentDeliveryInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__ContentDeliveryInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_ContentDeliveryInfoList();
	}

	function isEmpty() {
		return APS_Meta_ContentDeliveryInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_ContentDeliveryInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_ContentDeliveryInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ContentDeliveryInfo($r);
		}
		return $r;
	}
}

class APS_Meta_UpdateInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__UpdateInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_UpdateInfoList();
	}

	function isEmpty() {
		return APS_Meta_UpdateInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_UpdateInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_UpdateInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_UpdateInfo($r);
		}
		return $r;
	}
}

class APS_Meta_RequirementInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__RequirementInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_RequirementInfoList();
	}

	function isEmpty() {
		return APS_Meta_RequirementInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_RequirementInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_RequirementInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfo($r);
		}
		return $r;
	}
}

class APS_Meta_RequirementGroupList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__RequirementGroup_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_RequirementGroupList();
	}

	function isEmpty() {
		return APS_Meta_RequirementGroupList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_RequirementGroupList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_RequirementGroupList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementGroup($r);
		}
		return $r;
	}
}

class APS_Meta_SettingGroupList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__SettingGroup_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_SettingGroupList();
	}

	function isEmpty() {
		return APS_Meta_SettingGroupList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_SettingGroupList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_SettingGroupList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_SettingGroup($r);
		}
		return $r;
	}
}

class APS_Meta_ScreenshotInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__ScreenshotInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_ScreenshotInfoList();
	}

	function isEmpty() {
		return APS_Meta_ScreenshotInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_ScreenshotInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_ScreenshotInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ScreenshotInfo($r);
		}
		return $r;
	}
}

class APS_Meta_ScriptInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__ScriptInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_ScriptInfoList();
	}

	function isEmpty() {
		return APS_Meta_ScriptInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_ScriptInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_ScriptInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ScriptInfo($r);
		}
		return $r;
	}
}

class APS_Meta_URLMappingInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__URLMappingInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_URLMappingInfoList();
	}

	function isEmpty() {
		return APS_Meta_URLMappingInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_URLMappingInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_URLMappingInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_URLMappingInfo($r);
		}
		return $r;
	}
}

class APS_Meta_MappingInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__MappingInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_MappingInfoList();
	}

	function isEmpty() {
		return APS_Meta_MappingInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_MappingInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_MappingInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_MappingInfo($r);
		}
		return $r;
	}
}

class APS_Meta_HandlerInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__HandlerInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_HandlerInfoList();
	}

	function isEmpty() {
		return APS_Meta_HandlerInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_HandlerInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_HandlerInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_HandlerInfo($r);
		}
		return $r;
	}
}

class APS_Meta_EntryPointList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__EntryPoint_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_EntryPointList();
	}

	function isEmpty() {
		return APS_Meta_EntryPointList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_EntryPointList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_EntryPointList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_EntryPoint($r);
		}
		return $r;
	}
}

class APS_Meta_EntryPointParamList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__EntryPointParam_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_EntryPointParamList();
	}

	function isEmpty() {
		return APS_Meta_EntryPointParamList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_EntryPointParamList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_EntryPointParamList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_EntryPointParam($r);
		}
		return $r;
	}
}

class APS_Meta_InfoLinkList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__InfoLink_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_InfoLinkList();
	}

	function isEmpty() {
		return APS_Meta_InfoLinkList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_InfoLinkList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_InfoLinkList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_InfoLink($r);
		}
		return $r;
	}
}

class APS_Meta_CounterList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__Counter_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_CounterList();
	}

	function isEmpty() {
		return APS_Meta_CounterList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_CounterList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_CounterList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_Counter($r);
		}
		return $r;
	}
}

class APS_Controller_SettingChoiceList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__SettingChoice_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingChoiceList();
	}

	function isEmpty() {
		return APS_Controller_SettingChoiceList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_SettingChoiceList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_SettingChoiceList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingChoice($r);
		}
		return $r;
	}
}

class APS_Controller_SettingMetaList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__SettingMeta_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingMetaList();
	}

	function isEmpty() {
		return APS_Controller_SettingMetaList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_SettingMetaList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_SettingMetaList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMeta($r);
		}
		return $r;
	}
}

class APS_Controller_SettingMetaMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedMapT_std__string_APS__Controller__SettingMeta_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingMetaMap();
	}

	function getValue($arg1) {
		$r=APS_Controller_SettingMetaMap_getValue($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMeta($r);
		}
		return $r;
	}

	function isEmpty() {
		return APS_Controller_SettingMetaMap_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_SettingMetaMap_size($this->_cPtr);
	}

	function asUnorderedList() {
		$r=APS_Controller_SettingMetaMap_asUnorderedList($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaList($r);
		}
		return $r;
	}

	function hasKey($key) {
		return APS_Controller_SettingMetaMap_hasKey($this->_cPtr,$key);
	}

	function getKeys() {
		$r=APS_Controller_SettingMetaMap_getKeys($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Meta_AspectInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__AspectInfo_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_AspectInfoList();
	}

	function isEmpty() {
		return APS_Meta_AspectInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_AspectInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_AspectInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_AspectInfo($r);
		}
		return $r;
	}
}

class APS_Meta_ChangeLogEntryList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__ChangeLogEntry_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_ChangeLogEntryList();
	}

	function isEmpty() {
		return APS_Meta_ChangeLogEntryList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_ChangeLogEntryList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_ChangeLogEntryList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ChangeLogEntry($r);
		}
		return $r;
	}
}

class APS_Meta_OptCGIHandlerType {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Meta__CGI__Handler__HandlerType_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_OptCGIHandlerType(); break;
		default: $this->_cPtr=new_APS_Meta_OptCGIHandlerType($val);
		}
	}

	function isInitialized() {
		return APS_Meta_OptCGIHandlerType_isInitialized($this->_cPtr);
	}

	function getValue() {
		return APS_Meta_OptCGIHandlerType_getValue($this->_cPtr);
	}
}

class APS_Meta_CGIHandlerTypeReadOnlyMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedMapT_std__string_APS__Meta__CGI__Handler__HandlerType_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_CGIHandlerTypeReadOnlyMap();
	}

	function getValue($arg1) {
		return APS_Meta_CGIHandlerTypeReadOnlyMap_getValue($this->_cPtr,$arg1);
	}

	function isEmpty() {
		return APS_Meta_CGIHandlerTypeReadOnlyMap_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_CGIHandlerTypeReadOnlyMap_size($this->_cPtr);
	}

	function asUnorderedList() {
		return APS_Meta_CGIHandlerTypeReadOnlyMap_asUnorderedList($this->_cPtr);
	}

	function hasKey($key) {
		return APS_Meta_CGIHandlerTypeReadOnlyMap_hasKey($this->_cPtr,$key);
	}

	function getKeys() {
		$r=APS_Meta_CGIHandlerTypeReadOnlyMap_getKeys($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Meta_CGIHandlerTypeMap extends APS_Meta_CGIHandlerTypeReadOnlyMap {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_CGIHandlerTypeReadOnlyMap::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_CGIHandlerTypeReadOnlyMap::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_CGIHandlerTypeReadOnlyMap::__isset($var);
	}

	function __construct($m=null) {
		if (is_resource($m) && get_resource_type($m) === '_p_APS__Util__SharedModifiableMapT_std__string_APS__Meta__CGI__Handler__HandlerType_t') {
			$this->_cPtr=$m;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Meta_CGIHandlerTypeMap(); break;
		default: $this->_cPtr=new_APS_Meta_CGIHandlerTypeMap($m);
		}
	}

	function insert($k,$v=null) {
		switch (func_num_args()) {
		case 1: $r=APS_Meta_CGIHandlerTypeMap_insert($this->_cPtr,$k); break;
		default: $r=APS_Meta_CGIHandlerTypeMap_insert($this->_cPtr,$k,$v);
		}
		return $r;
	}

	function erase($arg1) {
		APS_Meta_CGIHandlerTypeMap_erase($this->_cPtr,$arg1);
	}

	function setValue($key,$value) {
		APS_Meta_CGIHandlerTypeMap_setValue($this->_cPtr,$key,$value);
	}
}

class APS_Meta_PerlModuleInfoList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__Perl__Module_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_PerlModuleInfoList();
	}

	function isEmpty() {
		return APS_Meta_PerlModuleInfoList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_PerlModuleInfoList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_PerlModuleInfoList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PerlModuleInfo($r);
		}
		return $r;
	}
}

class APS_Meta_DatabaseRequirementFeatureList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__Database__RequirementFeature_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_DatabaseRequirementFeatureList();
	}

	function isEmpty() {
		return APS_Meta_DatabaseRequirementFeatureList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_DatabaseRequirementFeatureList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_DatabaseRequirementFeatureList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DatabaseRequirementFeature($r);
		}
		return $r;
	}
}

class APS_Meta_PVCTemplateList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Meta__PVC__PVCTemplate_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_PVCTemplateList();
	}

	function isEmpty() {
		return APS_Meta_PVCTemplateList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Meta_PVCTemplateList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Meta_PVCTemplateList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PVCTemplate($r);
		}
		return $r;
	}
}

class APS_Controller_SettingChoice {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Controller__SettingChoice') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingChoice($arg1);
	}

	function id() {
		return APS_Controller_SettingChoice_id($this->_cPtr);
	}

	function name($locale) {
		return APS_Controller_SettingChoice_name($this->_cPtr,$locale);
	}
}

class APS_Controller_SettingMeta {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	const GEN_NO = 0;

	const GEN_GUID = APS_Controller_SettingMeta_GEN_GUID;

	const GEN_PASSWORD = APS_Controller_SettingMeta_GEN_PASSWORD;

	const GEN_RANDOM = APS_Controller_SettingMeta_GEN_RANDOM;

	const GEN_SEQUENCE = APS_Controller_SettingMeta_GEN_SEQUENCE;

	const VISIBILITY_HIDDEN = 0;

	const VISIBILITY_VISIBLE = APS_Controller_SettingMeta_VISIBILITY_VISIBLE;

	static function SETTING_VALUE_TYPE_BOOL() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_BOOL_get();
	}

	static function SETTING_VALUE_TYPE_INT() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_INT_get();
	}

	static function SETTING_VALUE_TYPE_FLOAT() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_FLOAT_get();
	}

	static function SETTING_VALUE_TYPE_STRING() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_STRING_get();
	}

	static function SETTING_VALUE_TYPE_PASSWORD() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_PASSWORD_get();
	}

	static function SETTING_VALUE_TYPE_EMAIL() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_EMAIL_get();
	}

	static function SETTING_VALUE_TYPE_DOMAIN_NAME() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_DOMAIN_NAME_get();
	}

	static function SETTING_VALUE_TYPE_HOSTNAME() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_HOSTNAME_get();
	}

	static function SETTING_VALUE_TYPE_ENUM() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_ENUM_get();
	}

	static function SETTING_VALUE_TYPE_DATE() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_DATE_get();
	}

	static function SETTING_VALUE_TYPE_TIME() {
		return APS_Controller_SettingMeta_SETTING_VALUE_TYPE_TIME_get();
	}

	function name($locale) {
		return APS_Controller_SettingMeta_name($this->_cPtr,$locale);
	}

	function id() {
		return APS_Controller_SettingMeta_id($this->_cPtr);
	}

	function title($locale) {
		return APS_Controller_SettingMeta_title($this->_cPtr,$locale);
	}

	function type() {
		return APS_Controller_SettingMeta_type($this->_cPtr);
	}

	function valueOfSetting() {
		return APS_Controller_SettingMeta_valueOfSetting($this->_cPtr);
	}

	function trackOldValue() {
		return APS_Controller_SettingMeta_trackOldValue($this->_cPtr);
	}

	function isMultiValue() {
		return APS_Controller_SettingMeta_isMultiValue($this->_cPtr);
	}

	function unique() {
		return APS_Controller_SettingMeta_unique($this->_cPtr);
	}

	function generate() {
		return APS_Controller_SettingMeta_generate($this->_cPtr);
	}

	function serviceId() {
		return APS_Controller_SettingMeta_serviceId($this->_cPtr);
	}

	function uuid() {
		return APS_Controller_SettingMeta_uuid($this->_cPtr);
	}

	function setting_class() {
		return APS_Controller_SettingMeta_setting_class($this->_cPtr);
	}

	function defaultValues() {
		$r=APS_Controller_SettingMeta_defaultValues($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}

	function isOptional() {
		return APS_Controller_SettingMeta_isOptional($this->_cPtr);
	}

	function isInstallationOnly() {
		return APS_Controller_SettingMeta_isInstallationOnly($this->_cPtr);
	}

	function visibility() {
		return APS_Controller_SettingMeta_visibility($this->_cPtr);
	}

	function isProtected() {
		return APS_Controller_SettingMeta_isProtected($this->_cPtr);
	}

	function isGlobal() {
		return APS_Controller_SettingMeta_isGlobal($this->_cPtr);
	}

	function choices() {
		$r=APS_Controller_SettingMeta_choices($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingChoiceList($r);
		}
		return $r;
	}

	function min() {
		return APS_Controller_SettingMeta_min($this->_cPtr);
	}

	function max() {
		return APS_Controller_SettingMeta_max($this->_cPtr);
	}

	function min_length() {
		return APS_Controller_SettingMeta_min_length($this->_cPtr);
	}

	function max_length() {
		return APS_Controller_SettingMeta_max_length($this->_cPtr);
	}

	function regex() {
		return APS_Controller_SettingMeta_regex($this->_cPtr);
	}

	function min_items() {
		return APS_Controller_SettingMeta_min_items($this->_cPtr);
	}

	function max_items() {
		return APS_Controller_SettingMeta_max_items($this->_cPtr);
	}

	function list_order() {
		return APS_Controller_SettingMeta_list_order($this->_cPtr);
	}

	function error_message($locale) {
		return APS_Controller_SettingMeta_error_message($this->_cPtr,$locale);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Controller__SettingMeta') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingMeta($arg1);
	}
}

class APS_Meta_AspectInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function ns() {
		return APS_Meta_AspectInfo_ns($this->_cPtr);
	}

	function isOptional() {
		return APS_Meta_AspectInfo_isOptional($this->_cPtr);
	}

	function isAlternative() {
		return APS_Meta_AspectInfo_isAlternative($this->_cPtr);
	}
}

class APS_Meta_ChangeLogEntry {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function version() {
		return APS_Meta_ChangeLogEntry_version($this->_cPtr);
	}

	function release() {
		return APS_Meta_ChangeLogEntry_release($this->_cPtr);
	}

	function date() {
		return APS_Meta_ChangeLogEntry_date($this->_cPtr);
	}

	function text($locale) {
		return APS_Meta_ChangeLogEntry_text($this->_cPtr,$locale);
	}
}

class APS_Meta_ContentDeliveryInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function aspect() {
		$r=APS_Meta_ContentDeliveryInfo_aspect($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_AspectInfo($r);
		}
		return $r;
	}
}

class APS_Meta_PVCCheckSum {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function algorithm() {
		return APS_Meta_PVCCheckSum_algorithm($this->_cPtr);
	}

	function sum() {
		return APS_Meta_PVCCheckSum_sum($this->_cPtr);
	}
}

class APS_Meta_PVCTemplate {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	const PATH = 0;

	const URL = APS_Meta_PVCTemplate_URL;

	const FILENAME = APS_Meta_PVCTemplate_FILENAME;

	function locationType() {
		return APS_Meta_PVCTemplate_locationType($this->_cPtr);
	}

	function location() {
		return APS_Meta_PVCTemplate_location($this->_cPtr);
	}

	function checkSum() {
		$r=APS_Meta_PVCTemplate_checkSum($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptPVCCheckSum($r);
		}
		return $r;
	}
}

class APS_Meta_PVCContentDeliveryInfo extends APS_Meta_ContentDeliveryInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_ContentDeliveryInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_ContentDeliveryInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_ContentDeliveryInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__PVC__ContentDeliveryInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_PVCContentDeliveryInfo($arg1);
	}

	function templateClass() {
		$r=APS_Meta_PVCContentDeliveryInfo_templateClass($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function archiveRoot() {
		$r=APS_Meta_PVCContentDeliveryInfo_archiveRoot($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function templates() {
		$r=APS_Meta_PVCContentDeliveryInfo_templates($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PVCTemplateList($r);
		}
		return $r;
	}
}

class APS_Meta_Counter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Meta_Counter_id($this->_cPtr);
	}

	function counterClass() {
		return APS_Meta_Counter_counterClass($this->_cPtr);
	}

	function limitingSetting() {
		return APS_Meta_Counter_limitingSetting($this->_cPtr);
	}

	function name($locale) {
		return APS_Meta_Counter_name($this->_cPtr,$locale);
	}

	function description($locale) {
		return APS_Meta_Counter_description($this->_cPtr,$locale);
	}
}

class APS_Meta_EntryPoint {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function dst() {
		return APS_Meta_EntryPoint_dst($this->_cPtr);
	}

	function label($locale) {
		return APS_Meta_EntryPoint_label($this->_cPtr,$locale);
	}

	function description($locale) {
		return APS_Meta_EntryPoint_description($this->_cPtr,$locale);
	}

	function entryPointClass() {
		return APS_Meta_EntryPoint_entryPointClass($this->_cPtr);
	}

	function method() {
		return APS_Meta_EntryPoint_method($this->_cPtr);
	}

	function icon() {
		return APS_Meta_EntryPoint_icon($this->_cPtr);
	}

	function params() {
		$r=APS_Meta_EntryPoint_params($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_EntryPointParamList($r);
		}
		return $r;
	}
}

class APS_Meta_EntryPointParam {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function name() {
		return APS_Meta_EntryPointParam_name($this->_cPtr);
	}

	function paramClass() {
		return APS_Meta_EntryPointParam_paramClass($this->_cPtr);
	}

	function valueOfSetting() {
		return APS_Meta_EntryPointParam_valueOfSetting($this->_cPtr);
	}

	function value() {
		return APS_Meta_EntryPointParam_value($this->_cPtr);
	}
}

class APS_Meta_HandlerInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function aspect() {
		$r=APS_Meta_HandlerInfo_aspect($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_AspectInfo($r);
		}
		return $r;
	}

	function extensions() {
		$r=APS_Meta_HandlerInfo_extensions($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function disabled() {
		return APS_Meta_HandlerInfo_disabled($this->_cPtr);
	}
}

class APS_Meta_AspNetHandlerInfo extends APS_Meta_HandlerInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_HandlerInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_HandlerInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_HandlerInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__AspNet__Handler') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_AspNetHandlerInfo($arg1);
	}

	function writePermission() {
		return APS_Meta_AspNetHandlerInfo_writePermission($this->_cPtr);
	}
}

class APS_Meta_CGIHandlerInfo extends APS_Meta_HandlerInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_HandlerInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_HandlerInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_HandlerInfo::__isset($var);
	}

	const UNDEFINED = 0;

	const EXECUTABLE = APS_Meta_CGIHandlerInfo_EXECUTABLE;

	const PERL = APS_Meta_CGIHandlerInfo_PERL;

	const PHP = APS_Meta_CGIHandlerInfo_PHP;

	const PYTHON = APS_Meta_CGIHandlerInfo_PYTHON;

	const SSI = APS_Meta_CGIHandlerInfo_SSI;

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__CGI__Handler') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_CGIHandlerInfo($arg1);
	}

	function readPermission() {
		return APS_Meta_CGIHandlerInfo_readPermission($this->_cPtr);
	}

	function writePermission() {
		return APS_Meta_CGIHandlerInfo_writePermission($this->_cPtr);
	}

	function handlerType() {
		$r=APS_Meta_CGIHandlerInfo_handlerType($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_CGIHandlerTypeReadOnlyMap($r);
		}
		return $r;
	}

	function allFiles() {
		$r=APS_Meta_CGIHandlerInfo_allFiles($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptCGIHandlerType($r);
		}
		return $r;
	}
}

class APS_Meta_PHPHandlerInfo extends APS_Meta_HandlerInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_HandlerInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_HandlerInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_HandlerInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__PHP__Handler') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_PHPHandlerInfo($arg1);
	}

	function readPermission() {
		return APS_Meta_PHPHandlerInfo_readPermission($this->_cPtr);
	}

	function writePermission() {
		return APS_Meta_PHPHandlerInfo_writePermission($this->_cPtr);
	}
}

class APS_Meta_PerlHandlerInfo extends APS_Meta_HandlerInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_HandlerInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_HandlerInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_HandlerInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Perl__Handler') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_PerlHandlerInfo($arg1);
	}
}

class APS_Meta_InfoLink {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function text() {
		return APS_Meta_InfoLink_text($this->_cPtr);
	}

	function linkClass() {
		return APS_Meta_InfoLink_linkClass($this->_cPtr);
	}

	function href() {
		return APS_Meta_InfoLink_href($this->_cPtr);
	}
}

class APS_Meta_LicenseText {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function name() {
		return APS_Meta_LicenseText_name($this->_cPtr);
	}

	function file() {
		return APS_Meta_LicenseText_file($this->_cPtr);
	}

	function href() {
		return APS_Meta_LicenseText_href($this->_cPtr);
	}
}

class APS_Meta_LicenseInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	const CLASS_FREE = 0;

	const CLASS_COMMERCIAL = APS_Meta_LicenseInfo_CLASS_COMMERCIAL;

	const CLASS_UNKNOWN = APS_Meta_LicenseInfo_CLASS_UNKNOWN;

	function licenseClass() {
		return APS_Meta_LicenseInfo_licenseClass($this->_cPtr);
	}

	function mustAccept() {
		return APS_Meta_LicenseInfo_mustAccept($this->_cPtr);
	}

	function text($locale) {
		$r=APS_Meta_LicenseInfo_text($this->_cPtr,$locale);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_LicenseText($r);
		}
		return $r;
	}
}

class APS_Meta_MappingInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	const Regular = 0;

	const Virtual = APS_Meta_MappingInfo_Virtual;

	const Redirect = APS_Meta_MappingInfo_Redirect;

	function type() {
		return APS_Meta_MappingInfo_type($this->_cPtr);
	}

	function childMappings() {
		$r=APS_Meta_MappingInfo_childMappings($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_MappingInfoList($r);
		}
		return $r;
	}

	function path() {
		return APS_Meta_MappingInfo_path($this->_cPtr);
	}

	function isShared() {
		return APS_Meta_MappingInfo_isShared($this->_cPtr);
	}

	function handlers() {
		$r=APS_Meta_MappingInfo_handlers($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_HandlerInfoList($r);
		}
		return $r;
	}

	function URL() {
		return APS_Meta_MappingInfo_URL($this->_cPtr);
	}

	function redirect() {
		return APS_Meta_MappingInfo_redirect($this->_cPtr);
	}
}

class APS_Meta_PackageInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function globalSettingGroups() {
		$r=APS_Meta_PackageInfo_globalSettingGroups($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_SettingGroupList($r);
		}
		return $r;
	}

	function globalSettingsMeta() {
		$r=APS_Meta_PackageInfo_globalSettingsMeta($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function globalSettingsMetaRecursive() {
		$r=APS_Meta_PackageInfo_globalSettingsMetaRecursive($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function id() {
		return APS_Meta_PackageInfo_id($this->_cPtr);
	}

	function masterId() {
		return APS_Meta_PackageInfo_masterId($this->_cPtr);
	}

	function masterMatch() {
		return APS_Meta_PackageInfo_masterMatch($this->_cPtr);
	}

	function name() {
		return APS_Meta_PackageInfo_name($this->_cPtr);
	}

	function packageDate() {
		return APS_Meta_PackageInfo_packageDate($this->_cPtr);
	}

	function requirements() {
		$r=APS_Meta_PackageInfo_requirements($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfoList($r);
		}
		return $r;
	}

	function rootService() {
		$r=APS_Meta_PackageInfo_rootService($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfo($r);
		}
		return $r;
	}

	function version() {
		return APS_Meta_PackageInfo_version($this->_cPtr);
	}

	function specVersion() {
		return APS_Meta_PackageInfo_specVersion($this->_cPtr);
	}

	function specVersionAsInt() {
		return APS_Meta_PackageInfo_specVersionAsInt($this->_cPtr);
	}

	function release() {
		return APS_Meta_PackageInfo_release($this->_cPtr);
	}

	function homepage() {
		return APS_Meta_PackageInfo_homepage($this->_cPtr);
	}

	function __construct($metadata) {
		if (is_resource($metadata) && get_resource_type($metadata) === '_p_APS__Meta__PackageInfo') {
			$this->_cPtr=$metadata;
			return;
		}
		$this->_cPtr=new_APS_Meta_PackageInfo($metadata);
	}

	function vendor() {
		$r=APS_Meta_PackageInfo_vendor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_VendorInfo($r);
		}
		return $r;
	}

	function packager() {
		$r=APS_Meta_PackageInfo_packager($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_VendorInfo($r);
		}
		return $r;
	}

	function presentation() {
		$r=APS_Meta_PackageInfo_presentation($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PresentationInfo($r);
		}
		return $r;
	}

	function services() {
		$r=APS_Meta_PackageInfo_services($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfoList($r);
		}
		return $r;
	}

	function servicesRecursive() {
		$r=APS_Meta_PackageInfo_servicesRecursive($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfoList($r);
		}
		return $r;
	}

	function aspects() {
		$r=APS_Meta_PackageInfo_aspects($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_AspectInfoList($r);
		}
		return $r;
	}

	function deliveryType() {
		$r=APS_Meta_PackageInfo_deliveryType($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptContentDeliveryInfo($r);
		}
		return $r;
	}

	function updates() {
		$r=APS_Meta_PackageInfo_updates($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_UpdateInfoList($r);
		}
		return $r;
	}
}

class APS_Meta_PresentationInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function summary($locale) {
		return APS_Meta_PresentationInfo_summary($this->_cPtr,$locale);
	}

	function description($locale) {
		return APS_Meta_PresentationInfo_description($this->_cPtr,$locale);
	}

	function icon() {
		return APS_Meta_PresentationInfo_icon($this->_cPtr);
	}

	function screenshot() {
		$r=APS_Meta_PresentationInfo_screenshot($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ScreenshotInfoList($r);
		}
		return $r;
	}

	function changeLog() {
		$r=APS_Meta_PresentationInfo_changeLog($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ChangeLogEntryList($r);
		}
		return $r;
	}

	function categories() {
		$r=APS_Meta_PresentationInfo_categories($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function languages() {
		$r=APS_Meta_PresentationInfo_languages($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}
}

class APS_Meta_RequirementInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Meta_RequirementInfo_id($this->_cPtr);
	}

	function aspect() {
		$r=APS_Meta_RequirementInfo_aspect($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_AspectInfo($r);
		}
		return $r;
	}

	function resourceType() {
		return APS_Meta_RequirementInfo_resourceType($this->_cPtr);
	}
}

class APS_Meta_RequirementGroup {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Meta_RequirementGroup_id($this->_cPtr);
	}

	function requirements() {
		$r=APS_Meta_RequirementGroup_requirements($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfoList($r);
		}
		return $r;
	}
}

class APS_Meta_RequirementChoice extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__RequirementChoice') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_RequirementChoice($arg1);
	}

	function requirementGroups() {
		$r=APS_Meta_RequirementChoice_requirementGroups($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementGroupList($r);
		}
		return $r;
	}
}

class APS_Meta_PHPRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function maxVersion() {
		$r=APS_Meta_PHPRequirementInfo_maxVersion($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function minVersion() {
		$r=APS_Meta_PHPRequirementInfo_minVersion($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function extentions() {
		$r=APS_Meta_PHPRequirementInfo_extentions($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function functions() {
		$r=APS_Meta_PHPRequirementInfo_functions($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function allowURLfopen() {
		$r=APS_Meta_PHPRequirementInfo_allowURLfopen($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function fileUpload() {
		$r=APS_Meta_PHPRequirementInfo_fileUpload($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function magicQuotesGPC() {
		$r=APS_Meta_PHPRequirementInfo_magicQuotesGPC($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function registerGlobals() {
		$r=APS_Meta_PHPRequirementInfo_registerGlobals($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function safeMode() {
		$r=APS_Meta_PHPRequirementInfo_safeMode($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function shortOpenTag() {
		$r=APS_Meta_PHPRequirementInfo_shortOpenTag($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function memoryLimit() {
		$r=APS_Meta_PHPRequirementInfo_memoryLimit($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptLong($r);
		}
		return $r;
	}

	function maxExecutionTime() {
		$r=APS_Meta_PHPRequirementInfo_maxExecutionTime($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptLong($r);
		}
		return $r;
	}

	function postMaxSize() {
		$r=APS_Meta_PHPRequirementInfo_postMaxSize($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptLong($r);
		}
		return $r;
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__PHP__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_PHPRequirementInfo($arg1);
	}
}

class APS_Meta_DatabaseRequirementFeature {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Meta_DatabaseRequirementFeature_id($this->_cPtr);
	}

	function value() {
		return APS_Meta_DatabaseRequirementFeature_value($this->_cPtr);
	}

	function disabled() {
		return APS_Meta_DatabaseRequirementFeature_disabled($this->_cPtr);
	}
}

class APS_Meta_DatabaseRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Database__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_DatabaseRequirementInfo($arg1);
	}

	function defaultName() {
		$r=APS_Meta_DatabaseRequirementInfo_defaultName($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function canUseTablesPrefix() {
		return APS_Meta_DatabaseRequirementInfo_canUseTablesPrefix($this->_cPtr);
	}

	function serverType() {
		return APS_Meta_DatabaseRequirementInfo_serverType($this->_cPtr);
	}

	function serverMinVersion() {
		return APS_Meta_DatabaseRequirementInfo_serverMinVersion($this->_cPtr);
	}

	function features() {
		$r=APS_Meta_DatabaseRequirementInfo_features($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DatabaseRequirementFeatureList($r);
		}
		return $r;
	}
}

class APS_Meta_AspNetRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__AspNet__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_AspNetRequirementInfo($arg1);
	}

	function version() {
		return APS_Meta_AspNetRequirementInfo_version($this->_cPtr);
	}
}

class APS_Meta_ApacheRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Apache__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_ApacheRequirementInfo($arg1);
	}

	function htaccess() {
		$r=APS_Meta_ApacheRequirementInfo_htaccess($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function module() {
		$r=APS_Meta_ApacheRequirementInfo_module($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}
}

class APS_Meta_HardwareConfiguration {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function cpu() {
		$r=APS_Meta_HardwareConfiguration_cpu($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptUInt($r);
		}
		return $r;
	}

	function ram() {
		$r=APS_Meta_HardwareConfiguration_ram($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptUInt($r);
		}
		return $r;
	}
}

class APS_Meta_HardwareRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Hardware__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_HardwareRequirementInfo($arg1);
	}

	function minimal() {
		$r=APS_Meta_HardwareRequirementInfo_minimal($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptHardwareConfiguration($r);
		}
		return $r;
	}

	function recommended() {
		$r=APS_Meta_HardwareRequirementInfo_recommended($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptHardwareConfiguration($r);
		}
		return $r;
	}
}

class APS_Meta_EnvironmentRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Environment__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_EnvironmentRequirementInfo($arg1);
	}

	function arch() {
		$r=APS_Meta_EnvironmentRequirementInfo_arch($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function os() {
		$r=APS_Meta_EnvironmentRequirementInfo_os($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function platform() {
		$r=APS_Meta_EnvironmentRequirementInfo_platform($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}
}

class RequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Matching__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_RequirementInfo($arg1);
	}
}

class APS_Meta_MailRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Mail__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_MailRequirementInfo($arg1);
	}

	function imap() {
		$r=APS_Meta_MailRequirementInfo_imap($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function imap_ssl() {
		$r=APS_Meta_MailRequirementInfo_imap_ssl($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function imap_tls() {
		$r=APS_Meta_MailRequirementInfo_imap_tls($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function pop3() {
		$r=APS_Meta_MailRequirementInfo_pop3($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function pop3_apop() {
		$r=APS_Meta_MailRequirementInfo_pop3_apop($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function pop3_tls() {
		$r=APS_Meta_MailRequirementInfo_pop3_tls($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function smtp() {
		$r=APS_Meta_MailRequirementInfo_smtp($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function smtp_ssl() {
		$r=APS_Meta_MailRequirementInfo_smtp_ssl($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}

	function smtp_tls() {
		$r=APS_Meta_MailRequirementInfo_smtp_tls($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptBoolean($r);
		}
		return $r;
	}
}

class APS_Meta_PerlModuleInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function name() {
		return APS_Meta_PerlModuleInfo_name($this->_cPtr);
	}

	function match() {
		$r=APS_Meta_PerlModuleInfo_match($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}
}

class APS_Meta_PerlRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Perl__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_PerlRequirementInfo($arg1);
	}

	function versionMatch() {
		$r=APS_Meta_PerlRequirementInfo_versionMatch($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function module() {
		$r=APS_Meta_PerlRequirementInfo_module($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PerlModuleInfoList($r);
		}
		return $r;
	}

	function mod_perl() {
		$r=APS_Meta_PerlRequirementInfo_mod_perl($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function active_perl() {
		$r=APS_Meta_PerlRequirementInfo_active_perl($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}
}

class APS_Meta_DNSSettingOrUnsigned {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function settingName() {
		$r=APS_Meta_DNSSettingOrUnsigned_settingName($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function value() {
		$r=APS_Meta_DNSSettingOrUnsigned_value($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptUInt($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Meta__DNS__SettingOrUnsigned') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_DNSSettingOrUnsigned();
	}
}

class APS_Meta_DNSSettingOrString {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function settingName() {
		$r=APS_Meta_DNSSettingOrString_settingName($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function value() {
		$r=APS_Meta_DNSSettingOrString_value($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Meta__DNS__SettingOrString') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Meta_DNSSettingOrString();
	}
}

class APS_Meta_DNSAddress {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function external() {
		$r=APS_Meta_DNSAddress_external($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrString($r);
		}
		return $r;
	}

	function prefix() {
		$r=APS_Meta_DNSAddress_prefix($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrString($r);
		}
		return $r;
	}

	function current() {
		return APS_Meta_DNSAddress_current($this->_cPtr);
	}

	function wildcard() {
		return APS_Meta_DNSAddress_wildcard($this->_cPtr);
	}
}

class APS_Meta_DNSRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	const RECORDTYPE_NS = 0;

	const RECORDTYPE_MX = APS_Meta_DNSRequirementInfo_RECORDTYPE_MX;

	const RECORDTYPE_CNAME = APS_Meta_DNSRequirementInfo_RECORDTYPE_CNAME;

	const RECORDTYPE_A = APS_Meta_DNSRequirementInfo_RECORDTYPE_A;

	const RECORDTYPE_TXT = APS_Meta_DNSRequirementInfo_RECORDTYPE_TXT;

	const RECORDTYPE_SRV = APS_Meta_DNSRequirementInfo_RECORDTYPE_SRV;

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__DNS__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_DNSRequirementInfo($arg1);
	}

	function type() {
		return APS_Meta_DNSRequirementInfo_type($this->_cPtr);
	}

	function src() {
		$r=APS_Meta_DNSRequirementInfo_src($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptDNSAddress($r);
		}
		return $r;
	}

	function dst() {
		$r=APS_Meta_DNSRequirementInfo_dst($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptDNSAddress($r);
		}
		return $r;
	}

	function priority() {
		$r=APS_Meta_DNSRequirementInfo_priority($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrUnsigned($r);
		}
		return $r;
	}

	function weight() {
		$r=APS_Meta_DNSRequirementInfo_weight($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrUnsigned($r);
		}
		return $r;
	}

	function port() {
		$r=APS_Meta_DNSRequirementInfo_port($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrUnsigned($r);
		}
		return $r;
	}

	function ip() {
		$r=APS_Meta_DNSRequirementInfo_ip($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrString($r);
		}
		return $r;
	}

	function text() {
		$r=APS_Meta_DNSRequirementInfo_text($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_DNSSettingOrString($r);
		}
		return $r;
	}

	function service() {
		$r=APS_Meta_DNSRequirementInfo_service($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function protocol() {
		$r=APS_Meta_DNSRequirementInfo_protocol($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function subst() {
		return APS_Meta_DNSRequirementInfo_subst($this->_cPtr);
	}
}

class APS_Meta_IISRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	const POOLTYPE_CLASSIC = 0;

	const POOLTYPE_INTEGRATED = APS_Meta_IISRequirementInfo_POOLTYPE_INTEGRATED;

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__IIS__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_IISRequirementInfo($arg1);
	}

	function versionMatch() {
		$r=APS_Meta_IISRequirementInfo_versionMatch($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function pool() {
		$r=APS_Meta_IISRequirementInfo_pool($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptIISPoolType($r);
		}
		return $r;
	}
}

class APS_Meta_LicenseRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__License__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_LicenseRequirementInfo($arg1);
	}

	function type() {
		return APS_Meta_LicenseRequirementInfo_type($this->_cPtr);
	}

	function needQuery() {
		return APS_Meta_LicenseRequirementInfo_needQuery($this->_cPtr);
	}

	function optional() {
		return APS_Meta_LicenseRequirementInfo_optional($this->_cPtr);
	}
}

class APS_Meta_WebspaceRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Webspace__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_WebspaceRequirementInfo($arg1);
	}

	function URLMapping() {
		$r=APS_Meta_WebspaceRequirementInfo_URLMapping($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_URLMappingInfoList($r);
		}
		return $r;
	}
}

class APS_Meta_ServiceRequirementInfo extends APS_Meta_RequirementInfo {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Meta_RequirementInfo::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Meta_RequirementInfo::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Meta_RequirementInfo::__isset($var);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Meta__Service__RequirementInfo') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Meta_ServiceRequirementInfo($arg1);
	}

	function name($locale) {
		return APS_Meta_ServiceRequirementInfo_name($this->_cPtr,$locale);
	}

	function requiredClass() {
		return APS_Meta_ServiceRequirementInfo_requiredClass($this->_cPtr);
	}

	function optional() {
		return APS_Meta_ServiceRequirementInfo_optional($this->_cPtr);
	}

	function unique() {
		return APS_Meta_ServiceRequirementInfo_unique($this->_cPtr);
	}

	function uniquenessNamespace() {
		return APS_Meta_ServiceRequirementInfo_uniquenessNamespace($this->_cPtr);
	}

	function uniquenessScope() {
		return APS_Meta_ServiceRequirementInfo_uniquenessScope($this->_cPtr);
	}

	function confirmationToRemoval() {
		return APS_Meta_ServiceRequirementInfo_confirmationToRemoval($this->_cPtr);
	}
}

class APS_Meta_ScreenshotInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function path() {
		return APS_Meta_ScreenshotInfo_path($this->_cPtr);
	}

	function description($locale) {
		return APS_Meta_ScreenshotInfo_description($this->_cPtr,$locale);
	}
}

class APS_Meta_ScriptInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	const TYPE_CONFIGURATION = 0;

	const TYPE_BACKUP = APS_Meta_ScriptInfo_TYPE_BACKUP;

	const TYPE_VERIFY = APS_Meta_ScriptInfo_TYPE_VERIFY;

	const TYPE_RESOURCE = APS_Meta_ScriptInfo_TYPE_RESOURCE;

	const TYPE_LICENSE = APS_Meta_ScriptInfo_TYPE_LICENSE;

	function type() {
		return APS_Meta_ScriptInfo_type($this->_cPtr);
	}

	function name() {
		return APS_Meta_ScriptInfo_name($this->_cPtr);
	}

	function language() {
		return APS_Meta_ScriptInfo_language($this->_cPtr);
	}

	function isBinary() {
		return APS_Meta_ScriptInfo_isBinary($this->_cPtr);
	}

	function isPrivileged() {
		return APS_Meta_ScriptInfo_isPrivileged($this->_cPtr);
	}

	function isStructuredOutput() {
		return APS_Meta_ScriptInfo_isStructuredOutput($this->_cPtr);
	}

	function isStatusControl() {
		return APS_Meta_ScriptInfo_isStatusControl($this->_cPtr);
	}

	function isSufficient() {
		return APS_Meta_ScriptInfo_isSufficient($this->_cPtr);
	}

	function pollInterval() {
		return APS_Meta_ScriptInfo_pollInterval($this->_cPtr);
	}
}

class APS_Meta_ServiceInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Meta_ServiceInfo_id($this->_cPtr);
	}

	function serviceClass() {
		return APS_Meta_ServiceInfo_serviceClass($this->_cPtr);
	}

	function serviceClasses() {
		$r=APS_Meta_ServiceInfo_serviceClasses($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}

	function resourceType() {
		return APS_Meta_ServiceInfo_resourceType($this->_cPtr);
	}

	function singular() {
		return APS_Meta_ServiceInfo_singular($this->_cPtr);
	}

	function presentation() {
		$r=APS_Meta_ServiceInfo_presentation($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServicePresentationInfo($r);
		}
		return $r;
	}

	function license() {
		$r=APS_Meta_ServiceInfo_license($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_LicenseInfo($r);
		}
		return $r;
	}

	function settingSetMeta() {
		$r=APS_Meta_ServiceInfo_settingSetMeta($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function settingSetMetaRecursive() {
		$r=APS_Meta_ServiceInfo_settingSetMetaRecursive($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function childServices() {
		$r=APS_Meta_ServiceInfo_childServices($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfoList($r);
		}
		return $r;
	}

	function settingGroups() {
		$r=APS_Meta_ServiceInfo_settingGroups($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_SettingGroupList($r);
		}
		return $r;
	}

	function requirements() {
		$r=APS_Meta_ServiceInfo_requirements($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfoList($r);
		}
		return $r;
	}

	function counters() {
		$r=APS_Meta_ServiceInfo_counters($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_CounterList($r);
		}
		return $r;
	}

	function package() {
		$r=APS_Meta_ServiceInfo_package($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PackageInfo($r);
		}
		return $r;
	}

	function getParentService() {
		$r=APS_Meta_ServiceInfo_getParentService($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_OptServiceInfo($r);
		}
		return $r;
	}

	function URLMappingAsRequirement($chosenRequirements) {
		$r=APS_Meta_ServiceInfo_URLMappingAsRequirement($this->_cPtr,$chosenRequirements);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfo($r);
		}
		return $r;
	}

	function scripts($chosenRequirements) {
		$r=APS_Meta_ServiceInfo_scripts($this->_cPtr,$chosenRequirements);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ScriptInfoList($r);
		}
		return $r;
	}

	function URLMapping($chosenRequirements) {
		$r=APS_Meta_ServiceInfo_URLMapping($this->_cPtr,$chosenRequirements);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_URLMappingInfoList($r);
		}
		return $r;
	}
}

class APS_Meta_ServicePresentationInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function name($locale) {
		return APS_Meta_ServicePresentationInfo_name($this->_cPtr,$locale);
	}

	function summary($locale) {
		return APS_Meta_ServicePresentationInfo_summary($this->_cPtr,$locale);
	}

	function icon() {
		return APS_Meta_ServicePresentationInfo_icon($this->_cPtr);
	}

	function entryPoints() {
		$r=APS_Meta_ServicePresentationInfo_entryPoints($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_EntryPointList($r);
		}
		return $r;
	}

	function infoLinks($locale) {
		$r=APS_Meta_ServicePresentationInfo_infoLinks($this->_cPtr,$locale);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_InfoLinkList($r);
		}
		return $r;
	}
}

class APS_Meta_SettingGroup {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function name($locale) {
		return APS_Meta_SettingGroup_name($this->_cPtr,$locale);
	}

	function groupClass() {
		return APS_Meta_SettingGroup_groupClass($this->_cPtr);
	}

	function settingSetMeta() {
		$r=APS_Meta_SettingGroup_settingSetMeta($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function settingSetMetaRecursive() {
		$r=APS_Meta_SettingGroup_settingSetMetaRecursive($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function settingGroups() {
		$r=APS_Meta_SettingGroup_settingGroups($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_SettingGroupList($r);
		}
		return $r;
	}
}

class APS_Meta_UpdateInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	const UPDATETYPE_PATCH = 0;

	const UPDATETYPE_UPGRADE = APS_Meta_UpdateInfo_UPDATETYPE_UPGRADE;

	const MODETYPE_MANAGED = 0;

	const MODETYPE_BACKUP = APS_Meta_UpdateInfo_MODETYPE_BACKUP;

	const MODETYPE_SIMPLE = APS_Meta_UpdateInfo_MODETYPE_SIMPLE;

	function type() {
		return APS_Meta_UpdateInfo_type($this->_cPtr);
	}

	function mode() {
		return APS_Meta_UpdateInfo_mode($this->_cPtr);
	}

	function match() {
		return APS_Meta_UpdateInfo_match($this->_cPtr);
	}

	function recommended() {
		return APS_Meta_UpdateInfo_recommended($this->_cPtr);
	}
}

class APS_Meta_URLMappingInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function mappings() {
		$r=APS_Meta_URLMappingInfo_mappings($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_MappingInfoList($r);
		}
		return $r;
	}

	function defaultPrefix() {
		return APS_Meta_URLMappingInfo_defaultPrefix($this->_cPtr);
	}

	function installedSize() {
		return APS_Meta_URLMappingInfo_installedSize($this->_cPtr);
	}

	function siteRoot() {
		return APS_Meta_URLMappingInfo_siteRoot($this->_cPtr);
	}
}

class APS_Meta_VendorInfo {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function name($locale) {
		return APS_Meta_VendorInfo_name($this->_cPtr,$locale);
	}

	function homepage($locale) {
		return APS_Meta_VendorInfo_homepage($this->_cPtr,$locale);
	}

	function icon() {
		return APS_Meta_VendorInfo_icon($this->_cPtr);
	}

	function URI() {
		return APS_Meta_VendorInfo_URI($this->_cPtr);
	}
}

class APS_Provision_OptResourceDescriptor {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Provision__ResourceDescriptor_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Provision_OptResourceDescriptor(); break;
		default: $this->_cPtr=new_APS_Provision_OptResourceDescriptor($val);
		}
	}

	function isInitialized() {
		return APS_Provision_OptResourceDescriptor_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Provision_OptResourceDescriptor_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ResourceDescriptor($r);
		}
		return $r;
	}
}

class APS_Provision_IssueReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Provision__Issue_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_IssueReadOnlyList();
	}

	function isEmpty() {
		return APS_Provision_IssueReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Provision_IssueReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Provision_IssueReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_Issue($r);
		}
		return $r;
	}
}

class APS_Provision_IssueList extends APS_Provision_IssueReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_IssueReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_IssueReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Provision_IssueReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Provision_IssueList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Provision_IssueList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Provision__Issue_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_IssueList();
	}
}

class APS_Provision_ResourceReferenceReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Provision__ResourceReference_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourceReferenceReadOnlyList();
	}

	function isEmpty() {
		return APS_Provision_ResourceReferenceReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Provision_ResourceReferenceReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Provision_ResourceReferenceReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ResourceReference($r);
		}
		return $r;
	}
}

class APS_Provision_ResourceReferenceList extends APS_Provision_ResourceReferenceReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_ResourceReferenceReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_ResourceReferenceReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Provision_ResourceReferenceReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Provision_ResourceReferenceList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Provision_ResourceReferenceList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Provision__ResourceReference_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourceReferenceList();
	}
}

class APS_Provision_ReferenceResourceIdReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Provision__ReferencedResourceId_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ReferenceResourceIdReadOnlyList();
	}

	function isEmpty() {
		return APS_Provision_ReferenceResourceIdReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Provision_ReferenceResourceIdReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Provision_ReferenceResourceIdReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ReferencedResourceId($r);
		}
		return $r;
	}
}

class APS_Provision_ReferenceResourceIdList extends APS_Provision_ReferenceResourceIdReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_ReferenceResourceIdReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_ReferenceResourceIdReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Provision_ReferenceResourceIdReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Provision_ReferenceResourceIdList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Provision_ReferenceResourceIdList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Provision__ReferencedResourceId_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ReferenceResourceIdList();
	}
}

class APS_Provision_EntryPointVariableMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($other=null) {
		if (is_resource($other) && get_resource_type($other) === '_p_std__mapT_std__string_APS__Provision__EntryPointVariable_std__lessT_std__string_t_t') {
			$this->_cPtr=$other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Provision_EntryPointVariableMap(); break;
		default: $this->_cPtr=new_APS_Provision_EntryPointVariableMap($other);
		}
	}

	function size() {
		return APS_Provision_EntryPointVariableMap_size($this->_cPtr);
	}

	function clear() {
		APS_Provision_EntryPointVariableMap_clear($this->_cPtr);
	}

	function get($key) {
		$r=APS_Provision_EntryPointVariableMap_get($this->_cPtr,$key);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_EntryPointVariable($r);
		}
		return $r;
	}

	function set($key,$x) {
		APS_Provision_EntryPointVariableMap_set($this->_cPtr,$key,$x);
	}

	function del($key) {
		APS_Provision_EntryPointVariableMap_del($this->_cPtr,$key);
	}

	function has_key($key) {
		return APS_Provision_EntryPointVariableMap_has_key($this->_cPtr,$key);
	}

	function is_empty() {
		return APS_Provision_EntryPointVariableMap_is_empty($this->_cPtr);
	}
}

class APS_Provision_EntryPointReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Provision__EntryPoint_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_EntryPointReadOnlyList();
	}

	function isEmpty() {
		return APS_Provision_EntryPointReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Provision_EntryPointReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Provision_EntryPointReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_EntryPoint($r);
		}
		return $r;
	}
}

class APS_Provision_EntryPointList extends APS_Provision_EntryPointReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_EntryPointReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_EntryPointReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Provision_EntryPointReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Provision_EntryPointList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Provision_EntryPointList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Provision__EntryPoint_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_EntryPointList();
	}
}

class APS_Provision_OptApplicationResource {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Provision__ApplicationResource_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Provision_OptApplicationResource(); break;
		default: $this->_cPtr=new_APS_Provision_OptApplicationResource($val);
		}
	}

	function isInitialized() {
		return APS_Provision_OptApplicationResource_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Provision_OptApplicationResource_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}
}

class APS_Provision_ApplicationResourceReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Provision__ApplicationResource_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ApplicationResourceReadOnlyList();
	}

	function isEmpty() {
		return APS_Provision_ApplicationResourceReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Provision_ApplicationResourceReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Provision_ApplicationResourceReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}
}

class APS_Provision_ApplicationResourceList extends APS_Provision_ApplicationResourceReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_ApplicationResourceReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_ApplicationResourceReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Provision_ApplicationResourceReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Provision_ApplicationResourceList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Provision_ApplicationResourceList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Provision__ApplicationResource_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ApplicationResourceList();
	}
}

class APS_Provision_RestoredApplicationResourceReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Provision__RestoredApplicationResource_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_RestoredApplicationResourceReadOnlyList();
	}

	function isEmpty() {
		return APS_Provision_RestoredApplicationResourceReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Provision_RestoredApplicationResourceReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Provision_RestoredApplicationResourceReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_RestoredApplicationResource($r);
		}
		return $r;
	}
}

class APS_Provision_ResourceConfiguration {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		$func = 'APS_Provision_ResourceConfiguration_'.$var.'_set';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'requirementsInfo') return new APS_Meta_RequirementInfoList(APS_Provision_ResourceConfiguration_requirementsInfo_get($this->_cPtr));
		$func = 'APS_Provision_ResourceConfiguration_'.$var.'_get';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ResourceConfiguration_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getResourceType() {
		return APS_Provision_ResourceConfiguration_getResourceType($this->_cPtr);
	}

	function getRequirementsInfo() {
		$r=APS_Provision_ResourceConfiguration_getRequirementsInfo($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfoList($r);
		}
		return $r;
	}

	function getProperties() {
		return APS_Provision_ResourceConfiguration_getProperties($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__ResourceConfiguration') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourceConfiguration();
	}
}

class APS_Provision_ResourceTemplate {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'xml') return APS_Provision_ResourceTemplate_xml_set($this->_cPtr,$value);
		if ($var === 'resourceType') return APS_Provision_ResourceTemplate_resourceType_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'xml') return APS_Provision_ResourceTemplate_xml_get($this->_cPtr);
		if ($var === 'resourceType') return APS_Provision_ResourceTemplate_resourceType_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ResourceTemplate_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__ResourceTemplate') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourceTemplate();
	}
}

class APS_Provision_ResourceDescriptor {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'xml') return APS_Provision_ResourceDescriptor_xml_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'xml') return APS_Provision_ResourceDescriptor_xml_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ResourceDescriptor_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__ResourceDescriptor') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourceDescriptor();
	}
}

class APS_Provision_Issue {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		$func = 'APS_Provision_Issue_'.$var.'_set';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'resourceType') return new APS_OptString(APS_Provision_Issue_resourceType_get($this->_cPtr));
		$func = 'APS_Provision_Issue_'.$var.'_get';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_Issue_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__Issue') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_Issue();
	}
}

class APS_Provision_EntryPointVariable {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	static function VARIABLE_CLASS_LOGIN() {
		return APS_Provision_EntryPointVariable_VARIABLE_CLASS_LOGIN_get();
	}

	static function VARIABLE_CLASS_PASSWORD() {
		return APS_Provision_EntryPointVariable_VARIABLE_CLASS_PASSWORD_get();
	}

	static function VARIABLE_CLASS_LOCALE() {
		return APS_Provision_EntryPointVariable_VARIABLE_CLASS_LOCALE_get();
	}

	function __construct($name_or_val=null) {
		if (is_resource($name_or_val) && get_resource_type($name_or_val) === '_p_APS__Provision__EntryPointVariable') {
			$this->_cPtr=$name_or_val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Provision_EntryPointVariable(); break;
		default: $this->_cPtr=new_APS_Provision_EntryPointVariable($name_or_val);
		}
	}

	function getName() {
		return APS_Provision_EntryPointVariable_getName($this->_cPtr);
	}

	function getVariableClass() {
		return APS_Provision_EntryPointVariable_getVariableClass($this->_cPtr);
	}

	function setVariableClass($varClass) {
		APS_Provision_EntryPointVariable_setVariableClass($this->_cPtr,$varClass);
	}

	function getValues() {
		$r=APS_Provision_EntryPointVariable_getValues($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}

	function resetValues() {
		APS_Provision_EntryPointVariable_resetValues($this->_cPtr);
	}

	function setValues($values) {
		APS_Provision_EntryPointVariable_setValues($this->_cPtr,$values);
	}

	function appendValue($value) {
		APS_Provision_EntryPointVariable_appendValue($this->_cPtr,$value);
	}
}

class APS_Provision_EntryPoint {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	static function ENTRY_POINT_METHOD_HTTP_POST() {
		return APS_Provision_EntryPoint_ENTRY_POINT_METHOD_HTTP_POST_get();
	}

	static function ENTRY_POINT_METHOD_HTTP_GET() {
		return APS_Provision_EntryPoint_ENTRY_POINT_METHOD_HTTP_GET_get();
	}

	static function ENTRY_POINT_CLASS_CONTROL_PANEL() {
		return APS_Provision_EntryPoint_ENTRY_POINT_CLASS_CONTROL_PANEL_get();
	}

	static function ENTRY_POINT_CLASS_LOGIN() {
		return APS_Provision_EntryPoint_ENTRY_POINT_CLASS_LOGIN_get();
	}

	static function ENTRY_POINT_CLASS_MULTISTEP_LOGIN() {
		return APS_Provision_EntryPoint_ENTRY_POINT_CLASS_MULTISTEP_LOGIN_get();
	}

	static function ENTRY_POINT_CLASS_FRONTPAGE() {
		return APS_Provision_EntryPoint_ENTRY_POINT_CLASS_FRONTPAGE_get();
	}

	static function ENTRY_POINT_CLASS_CHECK() {
		return APS_Provision_EntryPoint_ENTRY_POINT_CLASS_CHECK_get();
	}

	static function ENTRY_POINT_CLASS_ACTION() {
		return APS_Provision_EntryPoint_ENTRY_POINT_CLASS_ACTION_get();
	}

	function __construct($metaEntryPoint=null) {
		if (is_resource($metaEntryPoint) && get_resource_type($metaEntryPoint) === '_p_APS__Provision__EntryPoint') {
			$this->_cPtr=$metaEntryPoint;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Provision_EntryPoint(); break;
		default: $this->_cPtr=new_APS_Provision_EntryPoint($metaEntryPoint);
		}
	}

	function getEntryClass() {
		return APS_Provision_EntryPoint_getEntryClass($this->_cPtr);
	}

	function getURL() {
		return APS_Provision_EntryPoint_getURL($this->_cPtr);
	}

	function getURLWithoutSearchPart() {
		return APS_Provision_EntryPoint_getURLWithoutSearchPart($this->_cPtr);
	}

	function getRequestMethod() {
		return APS_Provision_EntryPoint_getRequestMethod($this->_cPtr);
	}

	function getVariables() {
		$r=APS_Provision_EntryPoint_getVariables($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_EntryPointVariableMap($r);
		}
		return $r;
	}

	function requiresEnterAction() {
		return APS_Provision_EntryPoint_requiresEnterAction($this->_cPtr);
	}

	function enter() {
		APS_Provision_EntryPoint_enter($this->_cPtr);
	}

	function setEntryClass($entryClass) {
		APS_Provision_EntryPoint_setEntryClass($this->_cPtr,$entryClass);
	}

	function updateVariableValues($varName,$values) {
		APS_Provision_EntryPoint_updateVariableValues($this->_cPtr,$varName,$values);
	}
}

abstract class APS_Provision_ResourceAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function id() {
		return APS_Provision_ResourceAbstract_id($this->_cPtr);
	}

	function resourceType() {
		return APS_Provision_ResourceAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Provision_ResourceAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Provision_ResourceAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function provision($arg0,$referringResourceId) {
		APS_Provision_ResourceAbstract_provision($this->_cPtr,$arg0,$referringResourceId);
	}

	function configure($arg0) {
		APS_Provision_ResourceAbstract_configure($this->_cPtr,$arg0);
	}

	function disable() {
		APS_Provision_ResourceAbstract_disable($this->_cPtr);
	}

	function enable() {
		APS_Provision_ResourceAbstract_enable($this->_cPtr);
	}

	function unprovision($referringResourceId) {
		APS_Provision_ResourceAbstract_unprovision($this->_cPtr,$referringResourceId);
	}

	function createBackup() {
		return APS_Provision_ResourceAbstract_createBackup($this->_cPtr);
	}

	function restoreBackup($backupId) {
		APS_Provision_ResourceAbstract_restoreBackup($this->_cPtr,$backupId);
	}

	function removeBackup($backupId) {
		APS_Provision_ResourceAbstract_removeBackup($this->_cPtr,$backupId);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__Resource') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Provision_ResourceAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Provision_ResourceAbstract($_this);
	}
}

abstract class APS_Provision_ResourceBrokerAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function isResourceConfigurationCompatible($arg0,$issues) {
		return APS_Provision_ResourceBrokerAbstract_isResourceConfigurationCompatible($this->_cPtr,$arg0,$issues);
	}

	function getCompatibleResourceConfigurations($resourceType) {
		return APS_Provision_ResourceBrokerAbstract_getCompatibleResourceConfigurations($this->_cPtr,$resourceType);
	}

	function isResourceCompatibleWithConfiguration($arg0,$arg1,$issues) {
		return APS_Provision_ResourceBrokerAbstract_isResourceCompatibleWithConfiguration($this->_cPtr,$arg0,$arg1,$issues);
	}

	function getResourcesCompatibleWithConfiguration($arg0) {
		return APS_Provision_ResourceBrokerAbstract_getResourcesCompatibleWithConfiguration($this->_cPtr,$arg0);
	}

	function newResource($arg0) {
		return APS_Provision_ResourceBrokerAbstract_newResource($this->_cPtr,$arg0);
	}

	function resourceExists($resourceId) {
		return APS_Provision_ResourceBrokerAbstract_resourceExists($this->_cPtr,$resourceId);
	}

	function getResource($resourceId,$referringResourceId) {
		return APS_Provision_ResourceBrokerAbstract_getResource($this->_cPtr,$resourceId,$referringResourceId);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__ResourceBroker') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Provision_ResourceBrokerAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Provision_ResourceBrokerAbstract($_this);
	}
}

class APS_Provision_ResourceReference {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'impl') return APS_Provision_ResourceReference_impl_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'impl') return APS_Provision_ResourceReference_impl_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ResourceReference_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function requirementResourceType() {
		return APS_Provision_ResourceReference_requirementResourceType($this->_cPtr);
	}

	function requirementId() {
		$r=APS_Provision_ResourceReference_requirementId($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function requirementInfo() {
		$r=APS_Provision_ResourceReference_requirementInfo($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_RequirementInfoList($r);
		}
		return $r;
	}

	function isOptional() {
		return APS_Provision_ResourceReference_isOptional($this->_cPtr);
	}

	function isResourceProvisioned() {
		return APS_Provision_ResourceReference_isResourceProvisioned($this->_cPtr);
	}

	function hostingResource() {
		return APS_Provision_ResourceReference_hostingResource($this->_cPtr);
	}

	function resource() {
		return APS_Provision_ResourceReference_resource($this->_cPtr);
	}

	function isPossible() {
		return APS_Provision_ResourceReference_isPossible($this->_cPtr);
	}

	function provisionIssues($locale) {
		$r=APS_Provision_ResourceReference_provisionIssues($this->_cPtr,$locale);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_IssueReadOnlyList($r);
		}
		return $r;
	}

	function possibleHostingResources() {
		$r=APS_Provision_ResourceReference_possibleHostingResources($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ResourceReadOnlyList($r);
		}
		return $r;
	}

	function setHostingResource($arg1) {
		APS_Provision_ResourceReference_setHostingResource($this->_cPtr,$arg1);
	}

	function possibleResources() {
		return APS_Provision_ResourceReference_possibleResources($this->_cPtr);
	}

	function setResource($arg1) {
		APS_Provision_ResourceReference_setResource($this->_cPtr,$arg1);
	}

	function setToProvisionResource() {
		APS_Provision_ResourceReference_setToProvisionResource($this->_cPtr);
	}

	function setNotToProvisionResource() {
		APS_Provision_ResourceReference_setNotToProvisionResource($this->_cPtr);
	}

	function setToConfigureResource() {
		APS_Provision_ResourceReference_setToConfigureResource($this->_cPtr);
	}

	function setToUnprovisionResource() {
		APS_Provision_ResourceReference_setToUnprovisionResource($this->_cPtr);
	}

	function setToReprovisionResource() {
		APS_Provision_ResourceReference_setToReprovisionResource($this->_cPtr);
	}

	function resourceBroker() {
		return APS_Provision_ResourceReference_resourceBroker($this->_cPtr);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Provision__ResourceReference') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourceReference($arg1);
	}
}

class APS_Provision_ResourcesProvisionOrderConstraint {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'precedingResourceType') return APS_Provision_ResourcesProvisionOrderConstraint_precedingResourceType_set($this->_cPtr,$value);
		if ($var === 'succeedingResourceType') return APS_Provision_ResourcesProvisionOrderConstraint_succeedingResourceType_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'precedingResourceType') return APS_Provision_ResourcesProvisionOrderConstraint_precedingResourceType_get($this->_cPtr);
		if ($var === 'succeedingResourceType') return APS_Provision_ResourcesProvisionOrderConstraint_succeedingResourceType_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ResourcesProvisionOrderConstraint_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__ResourcesProvisionOrderConstraint') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ResourcesProvisionOrderConstraint();
	}
}

class APS_Provision_ReferencedResourceId {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'resourceId') return APS_Provision_ReferencedResourceId_resourceId_set($this->_cPtr,$value);
		if ($var === 'resourceType') return APS_Provision_ReferencedResourceId_resourceType_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'resourceId') return APS_Provision_ReferencedResourceId_resourceId_get($this->_cPtr);
		if ($var === 'resourceType') return APS_Provision_ReferencedResourceId_resourceType_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ReferencedResourceId_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Provision__ReferencedResourceId') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Provision_ReferencedResourceId();
	}
}

class APS_Provision_ProvisionScenario {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'impl') return APS_Provision_ProvisionScenario_impl_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'impl') return APS_Provision_ProvisionScenario_impl_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ProvisionScenario_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function isPossible() {
		return APS_Provision_ProvisionScenario_isPossible($this->_cPtr);
	}

	function provisionIssues($locale) {
		$r=APS_Provision_ProvisionScenario_provisionIssues($this->_cPtr,$locale);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_IssueReadOnlyList($r);
		}
		return $r;
	}

	function resourceReferences() {
		$r=APS_Provision_ProvisionScenario_resourceReferences($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ResourceReferenceReadOnlyList($r);
		}
		return $r;
	}

	function selectedRequirementsChoiceOptions() {
		$r=APS_Provision_ProvisionScenario_selectedRequirementsChoiceOptions($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function possibleRequirementsChoiceOptions() {
		$r=APS_Provision_ProvisionScenario_possibleRequirementsChoiceOptions($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function selectRequirementsChoiceOptions($arg1) {
		APS_Provision_ProvisionScenario_selectRequirementsChoiceOptions($this->_cPtr,$arg1);
	}

	function setResourcesProvisionOrderConstraints($arg1) {
		APS_Provision_ProvisionScenario_setResourcesProvisionOrderConstraints($this->_cPtr,$arg1);
	}

	function __construct($arg1) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Provision__ProvisionScenario') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Provision_ProvisionScenario($arg1);
	}
}

class APS_Provision_ApplicationResource extends APS_Provision_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'impl') return APS_Provision_ApplicationResource_impl_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'impl') return APS_Provision_ApplicationResource_impl_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if (function_exists('APS_Provision_ApplicationResource_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return APS_Provision_ResourceAbstract::__isset($var);
	}

	static function possibleResourceTypes($packageInfo,$provisionableOnly,$context) {
		$r=APS_Provision_ApplicationResource_possibleResourceTypes($packageInfo,$provisionableOnly,$context);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	static function getApplicationResource($applicationResourceId_or_registryResource,$context) {
		$r=APS_Provision_ApplicationResource_getApplicationResource($applicationResourceId_or_registryResource,$context);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}

	function possibleChildResourceTypes($provisionableOnly) {
		$r=APS_Provision_ApplicationResource_possibleChildResourceTypes($this->_cPtr,$provisionableOnly);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function newChildResource($resourceType) {
		$r=APS_Provision_ApplicationResource_newChildResource($this->_cPtr,$resourceType);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}

	function newChildAddonResource($addonPackage,$addonPackageConfiguration,$addonResourceType) {
		$r=APS_Provision_ApplicationResource_newChildAddonResource($this->_cPtr,$addonPackage,$addonPackageConfiguration,$addonResourceType);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}

	function applicationResource() {
		$r=APS_Provision_ApplicationResource_applicationResource($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Resource($r);
		}
		return $r;
	}

	function application() {
		$r=APS_Provision_ApplicationResource_application($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Application($r);
		}
		return $r;
	}

	function packageConfiguration() {
		$r=APS_Provision_ApplicationResource_packageConfiguration($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfiguration($r);
		}
		return $r;
	}

	function package() {
		$r=APS_Provision_ApplicationResource_package($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Package($r);
		}
		return $r;
	}

	function packageInfo() {
		$r=APS_Provision_ApplicationResource_packageInfo($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_PackageInfo($r);
		}
		return $r;
	}

	function serviceInfo() {
		$r=APS_Provision_ApplicationResource_serviceInfo($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_ServiceInfo($r);
		}
		return $r;
	}

	function parentResource() {
		$r=APS_Provision_ApplicationResource_parentResource($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptApplicationResource($r);
		}
		return $r;
	}

	function rootResource() {
		$r=APS_Provision_ApplicationResource_rootResource($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}

	function parentMasterResource() {
		$r=APS_Provision_ApplicationResource_parentMasterResource($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptApplicationResource($r);
		}
		return $r;
	}

	function childResourcesByResourceType($resourceType) {
		$r=APS_Provision_ApplicationResource_childResourcesByResourceType($this->_cPtr,$resourceType);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResourceReadOnlyList($r);
		}
		return $r;
	}

	function childResources() {
		$r=APS_Provision_ApplicationResource_childResources($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResourceReadOnlyList($r);
		}
		return $r;
	}

	function referencedResources() {
		$r=APS_Provision_ApplicationResource_referencedResources($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ResourceReferenceReadOnlyList($r);
		}
		return $r;
	}

	function counters() {
		$r=APS_Provision_ApplicationResource_counters($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_CounterReadOnlyList($r);
		}
		return $r;
	}

	function context() {
		$r=APS_Provision_ApplicationResource_context($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ContextAbstract($r);
		}
		return $r;
	}

	function settings() {
		$r=APS_Provision_ApplicationResource_settings($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyMap($r);
		}
		return $r;
	}

	function setSettings($settings,$validate=true) {
		APS_Provision_ApplicationResource_setSettings($this->_cPtr,$settings,$validate);
	}

	function entryPoints() {
		$r=APS_Provision_ApplicationResource_entryPoints($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_EntryPointReadOnlyList($r);
		}
		return $r;
	}

	function isProvisioned() {
		return APS_Provision_ApplicationResource_isProvisioned($this->_cPtr);
	}

	function provisionScenario() {
		$r=APS_Provision_ApplicationResource_provisionScenario($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ProvisionScenario($r);
		}
		return $r;
	}

	function applyProvisionScenario() {
		APS_Provision_ApplicationResource_applyProvisionScenario($this->_cPtr);
	}

	function unprovisionForcibly() {
		APS_Provision_ApplicationResource_unprovisionForcibly($this->_cPtr);
	}

	function id() {
		return APS_Provision_ApplicationResource_id($this->_cPtr);
	}

	function resourceType() {
		return APS_Provision_ApplicationResource_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Provision_ApplicationResource_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Provision_ApplicationResource_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function properties() {
		return APS_Provision_ApplicationResource_properties($this->_cPtr);
	}

	function provision($configuration=null,$referringResourceId=null) {
		switch (func_num_args()) {
		case 0: APS_Provision_ApplicationResource_provision($this->_cPtr); break;
		case 1: APS_Provision_ApplicationResource_provision($this->_cPtr,$configuration); break;
		default: APS_Provision_ApplicationResource_provision($this->_cPtr,$configuration,$referringResourceId);
		}
	}

	function configure($configuration=null) {
		switch (func_num_args()) {
		case 0: APS_Provision_ApplicationResource_configure($this->_cPtr); break;
		default: APS_Provision_ApplicationResource_configure($this->_cPtr,$configuration);
		}
	}

	function disable() {
		APS_Provision_ApplicationResource_disable($this->_cPtr);
	}

	function enable() {
		APS_Provision_ApplicationResource_enable($this->_cPtr);
	}

	function unprovision($referringResourceId=null) {
		switch (func_num_args()) {
		case 0: APS_Provision_ApplicationResource_unprovision($this->_cPtr); break;
		default: APS_Provision_ApplicationResource_unprovision($this->_cPtr,$referringResourceId);
		}
	}

	function createBackup() {
		return APS_Provision_ApplicationResource_createBackup($this->_cPtr);
	}

	function restoreBackup($backupId) {
		APS_Provision_ApplicationResource_restoreBackup($this->_cPtr,$backupId);
	}

	function removeBackup($backupId) {
		APS_Provision_ApplicationResource_removeBackup($this->_cPtr,$backupId);
	}

	function __construct($package_or_other=null,$packageConfiguration=null,$resourceType=null,$context=null) {
		if (is_resource($package_or_other) && get_resource_type($package_or_other) === '_p_APS__Provision__ApplicationResource') {
			$this->_cPtr=$package_or_other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Provision_ApplicationResource(); break;
		case 1: $this->_cPtr=new_APS_Provision_ApplicationResource($package_or_other); break;
		case 2: $this->_cPtr=new_APS_Provision_ApplicationResource($package_or_other,$packageConfiguration); break;
		case 3: $this->_cPtr=new_APS_Provision_ApplicationResource($package_or_other,$packageConfiguration,$resourceType); break;
		default: $this->_cPtr=new_APS_Provision_ApplicationResource($package_or_other,$packageConfiguration,$resourceType,$context);
		}
	}
}

class APS_Provision_RestoredApplicationResource {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'applicationResource') return APS_Provision_RestoredApplicationResource_applicationResource_set($this->_cPtr,$value);
		if ($var === 'applicationResourceBackup') return APS_Provision_RestoredApplicationResource_applicationResourceBackup_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'applicationResource') return new APS_Provision_ApplicationResource(APS_Provision_RestoredApplicationResource_applicationResource_get($this->_cPtr));
		if ($var === 'applicationResourceBackup') return new APS_Registry_ResourceBackup(APS_Provision_RestoredApplicationResource_applicationResourceBackup_get($this->_cPtr));
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Provision_RestoredApplicationResource_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getApplicationResource() {
		$r=APS_Provision_RestoredApplicationResource_getApplicationResource($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_ApplicationResource($r);
		}
		return $r;
	}

	function getApplicationResourceBackup() {
		$r=APS_Provision_RestoredApplicationResource_getApplicationResourceBackup($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackup($r);
		}
		return $r;
	}

	function __construct($other,$arg2=null) {
		if (is_resource($other) && get_resource_type($other) === '_p_APS__Provision__RestoredApplicationResource') {
			$this->_cPtr=$other;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Provision_RestoredApplicationResource($other); break;
		default: $this->_cPtr=new_APS_Provision_RestoredApplicationResource($other,$arg2);
		}
	}
}

class APS_Provision_Application extends APS_Provision_ApplicationResource {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Provision_ApplicationResource::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Provision_ApplicationResource::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Provision_ApplicationResource::__isset($var);
	}

	function __construct($package_or_applicationResource,$packageConfiguration=null,$context=null) {
		if (is_resource($package_or_applicationResource) && get_resource_type($package_or_applicationResource) === '_p_APS__Provision__Application') {
			$this->_cPtr=$package_or_applicationResource;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Provision_Application($package_or_applicationResource); break;
		case 2: $this->_cPtr=new_APS_Provision_Application($package_or_applicationResource,$packageConfiguration); break;
		default: $this->_cPtr=new_APS_Provision_Application($package_or_applicationResource,$packageConfiguration,$context);
		}
	}

	static function getApplication($applicationResourceId_or_registryApplication,$context) {
		$r=APS_Provision_Application_getApplication($applicationResourceId_or_registryApplication,$context);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_Application($r);
		}
		return $r;
	}

	function masterApplication() {
		return APS_Provision_Application_masterApplication($this->_cPtr);
	}

	function updatePackages() {
		$r=APS_Provision_Application_updatePackages($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageReadOnlyList($r);
		}
		return $r;
	}

	function update($updatePackage) {
		APS_Provision_Application_update($this->_cPtr,$updatePackage);
	}

	function createApplicationBackup() {
		$r=APS_Provision_Application_createApplicationBackup($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackup($r);
		}
		return $r;
	}

	function restoreApplicationBackup($applicationBackup) {
		$r=APS_Provision_Application_restoreApplicationBackup($this->_cPtr,$applicationBackup);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_RestoredApplicationResourceReadOnlyList($r);
		}
		return $r;
	}

	function cloneApplicationBackup($applicationBackup) {
		$r=APS_Provision_Application_cloneApplicationBackup($this->_cPtr,$applicationBackup);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_RestoredApplicationResourceReadOnlyList($r);
		}
		return $r;
	}

	function removeApplicationBackup($applicationBackup) {
		APS_Provision_Application_removeApplicationBackup($this->_cPtr,$applicationBackup);
	}

	function applyPackageConfiguration($configureApplicationResources) {
		APS_Provision_Application_applyPackageConfiguration($this->_cPtr,$configureApplicationResources);
	}

	function changePackageConfiguration($packageConfiguration) {
		APS_Provision_Application_changePackageConfiguration($this->_cPtr,$packageConfiguration);
	}

	function changeContext($context) {
		APS_Provision_Application_changeContext($this->_cPtr,$context);
	}
}

class APS_DirectorCast {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__DirectorCast') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_DirectorCast($res);
	}

	function __deref__() {
		return APS_DirectorCast___deref__($this->_cPtr);
	}
}

class APS_Hosting_IssueReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Hosting__Issue_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_IssueReadOnlyList();
	}

	function isEmpty() {
		return APS_Hosting_IssueReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Hosting_IssueReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Hosting_IssueReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_Issue($r);
		}
		return $r;
	}
}

class APS_Hosting_IssueList extends APS_Hosting_IssueReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_IssueReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_IssueReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_IssueReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Hosting_IssueList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Hosting_IssueList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Hosting__Issue_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_IssueList();
	}
}

class APS_Hosting_OptURLMapping {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($val=null) {
		if (is_resource($val) && get_resource_type($val) === '_p_boost__optionalT_APS__Hosting__URLMapping_t') {
			$this->_cPtr=$val;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Hosting_OptURLMapping(); break;
		default: $this->_cPtr=new_APS_Hosting_OptURLMapping($val);
		}
	}

	function isInitialized() {
		return APS_Hosting_OptURLMapping_isInitialized($this->_cPtr);
	}

	function getValue() {
		$r=APS_Hosting_OptURLMapping_getValue($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_URLMapping($r);
		}
		return $r;
	}
}

class APS_Hosting_ScriptingEngineReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Hosting__ScriptingEngine_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ScriptingEngineReadOnlyList();
	}

	function isEmpty() {
		return APS_Hosting_ScriptingEngineReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Hosting_ScriptingEngineReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Hosting_ScriptingEngineReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ScriptingEngine($r);
		}
		return $r;
	}
}

class APS_Hosting_ScriptingEngineList extends APS_Hosting_ScriptingEngineReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ScriptingEngineReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ScriptingEngineReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ScriptingEngineReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Hosting_ScriptingEngineList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Hosting_ScriptingEngineList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Hosting__ScriptingEngine_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ScriptingEngineList();
	}
}

class APS_Hosting_URLMappingItemReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Hosting__URLMappingItem_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_URLMappingItemReadOnlyList();
	}

	function isEmpty() {
		return APS_Hosting_URLMappingItemReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Hosting_URLMappingItemReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Hosting_URLMappingItemReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_URLMappingItem($r);
		}
		return $r;
	}
}

class APS_Hosting_URLMappingItemList extends APS_Hosting_URLMappingItemReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_URLMappingItemReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_URLMappingItemReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_URLMappingItemReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Hosting_URLMappingItemList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Hosting_URLMappingItemList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Hosting__URLMappingItem_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_URLMappingItemList();
	}
}

class APS_Hosting_ResourceBrokerReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_boost__shared_ptrT_APS__Hosting__ResourceBroker_t_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ResourceBrokerReadOnlyList();
	}

	function isEmpty() {
		return APS_Hosting_ResourceBrokerReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Hosting_ResourceBrokerReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		return APS_Hosting_ResourceBrokerReadOnlyList_at($this->_cPtr,$i);
	}
}

class APS_Hosting_ResourceBrokerList extends APS_Hosting_ResourceBrokerReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceBrokerReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceBrokerReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceBrokerReadOnlyList::__isset($var);
	}

	function clear() {
		APS_Hosting_ResourceBrokerList_clear($this->_cPtr);
	}

	function push_back($value) {
		APS_Hosting_ResourceBrokerList_push_back($this->_cPtr,$value);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_boost__shared_ptrT_APS__Hosting__ResourceBroker_t_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ResourceBrokerList();
	}
}

class APS_Hosting_ResourceReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_boost__shared_ptrT_APS__Hosting__Resource_t_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ResourceReadOnlyList();
	}

	function isEmpty() {
		return APS_Hosting_ResourceReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Hosting_ResourceReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		return APS_Hosting_ResourceReadOnlyList_at($this->_cPtr,$i);
	}
}

class APS_Hosting_ResourceList extends APS_Hosting_ResourceReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceReadOnlyList::__isset($var);
	}

	function clear() {
		APS_Hosting_ResourceList_clear($this->_cPtr);
	}

	function push_back($value) {
		APS_Hosting_ResourceList_push_back($this->_cPtr,$value);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_boost__shared_ptrT_APS__Hosting__Resource_t_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ResourceList();
	}
}

class APS_Hosting_Code {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		$func = 'APS_Hosting_Code_'.$var.'_set';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'environment') return new APS_Controller_StringMap(APS_Hosting_Code_environment_get($this->_cPtr));
		if ($var === 'secure_environment') return new APS_StringSharedList(APS_Hosting_Code_secure_environment_get($this->_cPtr));
		if ($var === 'arguments') return new APS_StringSharedReadOnlyList(APS_Hosting_Code_arguments_get($this->_cPtr));
		$func = 'APS_Hosting_Code_'.$var.'_get';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Hosting_Code_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getArguments() {
		$r=APS_Hosting_Code_getArguments($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function getEnvironment() {
		$r=APS_Hosting_Code_getEnvironment($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function getSecureEnvironment() {
		$r=APS_Hosting_Code_getSecureEnvironment($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Code') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_Code();
	}
}

class APS_Hosting_CodeExecutionResult {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		$func = 'APS_Hosting_CodeExecutionResult_'.$var.'_set';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		$func = 'APS_Hosting_CodeExecutionResult_'.$var.'_get';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Hosting_CodeExecutionResult_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__CodeExecutionResult') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_CodeExecutionResult();
	}
}

class APS_Hosting_ResourceBrokerFactory {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getResourceBrokers($resourceType) {
		$r=APS_Hosting_ResourceBrokerFactory_getResourceBrokers($this->_cPtr,$resourceType);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ResourceBrokerReadOnlyList($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__ResourceBrokerFactory') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_ResourceBrokerFactory') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_ResourceBrokerFactory($_this);
	}
}

class APS_Hosting_Issue {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		$func = 'APS_Hosting_Issue_'.$var.'_set';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		$func = 'APS_Hosting_Issue_'.$var.'_get';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Hosting_Issue_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Issue') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_Issue();
	}
}

abstract class APS_Hosting_ResourceBrokerAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function isResourceConfigurationCompatible($arg0,$issues) {
		return APS_Hosting_ResourceBrokerAbstract_isResourceConfigurationCompatible($this->_cPtr,$arg0,$issues);
	}

	function getCompatibleResourceConfigurations($resourceType) {
		return APS_Hosting_ResourceBrokerAbstract_getCompatibleResourceConfigurations($this->_cPtr,$resourceType);
	}

	function isResourceCompatibleWithConfiguration($arg0,$arg1,$issues) {
		return APS_Hosting_ResourceBrokerAbstract_isResourceCompatibleWithConfiguration($this->_cPtr,$arg0,$arg1,$issues);
	}

	function getResourcesCompatibleWithConfiguration($arg0) {
		$r=APS_Hosting_ResourceBrokerAbstract_getResourcesCompatibleWithConfiguration($this->_cPtr,$arg0);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ResourceReadOnlyList($r);
		}
		return $r;
	}

	function newResource($arg0) {
		return APS_Hosting_ResourceBrokerAbstract_newResource($this->_cPtr,$arg0);
	}

	function resourceExists($resourceId) {
		return APS_Hosting_ResourceBrokerAbstract_resourceExists($this->_cPtr,$resourceId);
	}

	function getResource($resourceId,$referringResourceId) {
		return APS_Hosting_ResourceBrokerAbstract_getResource($this->_cPtr,$resourceId,$referringResourceId);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__ResourceBroker') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_ResourceBrokerAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_ResourceBrokerAbstract($_this);
	}
}

abstract class APS_Hosting_ContextAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function tags() {
		$r=APS_Hosting_ContextAbstract_tags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function registry() {
		$r=APS_Hosting_ContextAbstract_registry($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Registry($r);
		}
		return $r;
	}

	function resourceBrokerFactory() {
		$r=APS_Hosting_ContextAbstract_resourceBrokerFactory($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ResourceBrokerFactory($r);
		}
		return $r;
	}

	function resourceBrokerApplications() {
		$r=APS_Hosting_ContextAbstract_resourceBrokerApplications($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function onProvisionApplicationResource($resourceId) {
		APS_Hosting_ContextAbstract_onProvisionApplicationResource($this->_cPtr,$resourceId);
	}

	function onUnprovisionApplicationResource($resourceId) {
		APS_Hosting_ContextAbstract_onUnprovisionApplicationResource($this->_cPtr,$resourceId);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Context') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_ContextAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_ContextAbstract($_this);
	}
}

abstract class APS_Hosting_ResourceAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function id() {
		return APS_Hosting_ResourceAbstract_id($this->_cPtr);
	}

	function resourceType() {
		return APS_Hosting_ResourceAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_ResourceAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_ResourceAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function provision($arg0,$referringResourceId) {
		APS_Hosting_ResourceAbstract_provision($this->_cPtr,$arg0,$referringResourceId);
	}

	function configure($arg0) {
		APS_Hosting_ResourceAbstract_configure($this->_cPtr,$arg0);
	}

	function disable() {
		APS_Hosting_ResourceAbstract_disable($this->_cPtr);
	}

	function enable() {
		APS_Hosting_ResourceAbstract_enable($this->_cPtr);
	}

	function unprovision($referringResourceId) {
		APS_Hosting_ResourceAbstract_unprovision($this->_cPtr,$referringResourceId);
	}

	function createBackup() {
		return APS_Hosting_ResourceAbstract_createBackup($this->_cPtr);
	}

	function restoreBackup($backupId) {
		APS_Hosting_ResourceAbstract_restoreBackup($this->_cPtr,$backupId);
	}

	function removeBackup($backupId) {
		APS_Hosting_ResourceAbstract_removeBackup($this->_cPtr,$backupId);
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_ResourceAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Resource') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_ResourceAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_ResourceAbstract($_this);
	}
}

abstract class APS_Hosting_DatabaseAbstract extends APS_Hosting_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceAbstract::__isset($var);
	}

	function serverType() {
		return APS_Hosting_DatabaseAbstract_serverType($this->_cPtr);
	}

	function serverVersion() {
		return APS_Hosting_DatabaseAbstract_serverVersion($this->_cPtr);
	}

	function serverHost() {
		return APS_Hosting_DatabaseAbstract_serverHost($this->_cPtr);
	}

	function serverPort() {
		return APS_Hosting_DatabaseAbstract_serverPort($this->_cPtr);
	}

	function login() {
		return APS_Hosting_DatabaseAbstract_login($this->_cPtr);
	}

	function password() {
		return APS_Hosting_DatabaseAbstract_password($this->_cPtr);
	}

	function name() {
		return APS_Hosting_DatabaseAbstract_name($this->_cPtr);
	}

	function prefix() {
		return APS_Hosting_DatabaseAbstract_prefix($this->_cPtr);
	}

	function resourceType() {
		return APS_Hosting_DatabaseAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_DatabaseAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_DatabaseAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_DatabaseAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Database') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_DatabaseAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_DatabaseAbstract($_this);
	}
}

abstract class APS_Hosting_DNSRecordAbstract extends APS_Hosting_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceAbstract::__isset($var);
	}

	function substitutedData() {
		return APS_Hosting_DNSRecordAbstract_substitutedData($this->_cPtr);
	}

	function resourceType() {
		return APS_Hosting_DNSRecordAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_DNSRecordAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_DNSRecordAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_DNSRecordAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__DNSRecord') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_DNSRecordAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_DNSRecordAbstract($_this);
	}
}

class APS_Hosting_URLMappingItem {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'url') return APS_Hosting_URLMappingItem_url_set($this->_cPtr,$value);
		if ($var === 'path') return APS_Hosting_URLMappingItem_path_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'url') return APS_Hosting_URLMappingItem_url_get($this->_cPtr);
		if ($var === 'path') return APS_Hosting_URLMappingItem_path_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Hosting_URLMappingItem_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__URLMappingItem') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_URLMappingItem();
	}
}

class APS_Hosting_URLMapping {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		$func = 'APS_Hosting_URLMapping_'.$var.'_set';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'protocols') return new APS_StringSharedReadOnlyList(APS_Hosting_URLMapping_protocols_get($this->_cPtr));
		if ($var === 'mappings') return new APS_Hosting_URLMappingItemReadOnlyList(APS_Hosting_URLMapping_mappings_get($this->_cPtr));
		$func = 'APS_Hosting_URLMapping_'.$var.'_get';
		if (function_exists($func)) return call_user_func($func,$this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Hosting_URLMapping_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getProtocols() {
		$r=APS_Hosting_URLMapping_getProtocols($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function getMappings() {
		$r=APS_Hosting_URLMapping_getMappings($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_URLMappingItemReadOnlyList($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__URLMapping') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_URLMapping();
	}
}

class APS_Hosting_ScriptingEngine {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'name') return APS_Hosting_ScriptingEngine_name_set($this->_cPtr,$value);
		if ($var === 'version') return APS_Hosting_ScriptingEngine_version_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'name') return APS_Hosting_ScriptingEngine_name_get($this->_cPtr);
		if ($var === 'version') return APS_Hosting_ScriptingEngine_version_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Hosting_ScriptingEngine_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__ScriptingEngine') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Hosting_ScriptingEngine();
	}
}

abstract class APS_Hosting_EnvironmentAbstract extends APS_Hosting_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceAbstract::__isset($var);
	}

	function deployImage($imageURI,$imageFormat) {
		APS_Hosting_EnvironmentAbstract_deployImage($this->_cPtr,$imageURI,$imageFormat);
	}

	function executeCode($code) {
		$r=APS_Hosting_EnvironmentAbstract_executeCode($this->_cPtr,$code);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_CodeExecutionResult($r);
		}
		return $r;
	}

	function putFile($relativePath,$bytes) {
		APS_Hosting_EnvironmentAbstract_putFile($this->_cPtr,$relativePath,$bytes);
	}

	function getFile($relativePath) {
		return APS_Hosting_EnvironmentAbstract_getFile($this->_cPtr,$relativePath);
	}

	function deleteFiles($relativePaths) {
		APS_Hosting_EnvironmentAbstract_deleteFiles($this->_cPtr,$relativePaths);
	}

	function fileAbsolutePath($relativePath) {
		return APS_Hosting_EnvironmentAbstract_fileAbsolutePath($this->_cPtr,$relativePath);
	}

	function temporaryFilePath() {
		return APS_Hosting_EnvironmentAbstract_temporaryFilePath($this->_cPtr);
	}

	function urlMapping() {
		$r=APS_Hosting_EnvironmentAbstract_urlMapping($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_OptURLMapping($r);
		}
		return $r;
	}

	function scriptingEngines() {
		$r=APS_Hosting_EnvironmentAbstract_scriptingEngines($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Hosting_ScriptingEngineReadOnlyList($r);
		}
		return $r;
	}

	function resourceType() {
		return APS_Hosting_EnvironmentAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_EnvironmentAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_EnvironmentAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_EnvironmentAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Environment') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_EnvironmentAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_EnvironmentAbstract($_this);
	}
}

abstract class APS_Hosting_LicenseAbstract extends APS_Hosting_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceAbstract::__isset($var);
	}

	function licenseBits() {
		return APS_Hosting_LicenseAbstract_licenseBits($this->_cPtr);
	}

	function licenseType() {
		return APS_Hosting_LicenseAbstract_licenseType($this->_cPtr);
	}

	function licenseActivationData() {
		$r=APS_Hosting_LicenseAbstract_licenseActivationData($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_OptString($r);
		}
		return $r;
	}

	function setLicenseType($arg0) {
		APS_Hosting_LicenseAbstract_setLicenseType($this->_cPtr,$arg0);
	}

	function setLicenseActivationData($arg0) {
		APS_Hosting_LicenseAbstract_setLicenseActivationData($this->_cPtr,$arg0);
	}

	function resourceType() {
		return APS_Hosting_LicenseAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_LicenseAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_LicenseAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_LicenseAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__License') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_LicenseAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_LicenseAbstract($_this);
	}
}

abstract class APS_Hosting_MailboxAbstract extends APS_Hosting_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceAbstract::__isset($var);
	}

	function email() {
		return APS_Hosting_MailboxAbstract_email($this->_cPtr);
	}

	function aliases() {
		$r=APS_Hosting_MailboxAbstract_aliases($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function user() {
		return APS_Hosting_MailboxAbstract_user($this->_cPtr);
	}

	function password() {
		return APS_Hosting_MailboxAbstract_password($this->_cPtr);
	}

	function imapHost() {
		return APS_Hosting_MailboxAbstract_imapHost($this->_cPtr);
	}

	function imapPort() {
		return APS_Hosting_MailboxAbstract_imapPort($this->_cPtr);
	}

	function imapSSLPort() {
		return APS_Hosting_MailboxAbstract_imapSSLPort($this->_cPtr);
	}

	function popHost() {
		return APS_Hosting_MailboxAbstract_popHost($this->_cPtr);
	}

	function popPort() {
		return APS_Hosting_MailboxAbstract_popPort($this->_cPtr);
	}

	function popSSLPort() {
		return APS_Hosting_MailboxAbstract_popSSLPort($this->_cPtr);
	}

	function smtpHost() {
		return APS_Hosting_MailboxAbstract_smtpHost($this->_cPtr);
	}

	function smtpPort() {
		return APS_Hosting_MailboxAbstract_smtpPort($this->_cPtr);
	}

	function smtpSSLPort() {
		return APS_Hosting_MailboxAbstract_smtpSSLPort($this->_cPtr);
	}

	function resourceType() {
		return APS_Hosting_MailboxAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_MailboxAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_MailboxAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_MailboxAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__Mailbox') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_MailboxAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_MailboxAbstract($_this);
	}
}

abstract class APS_Hosting_OutgoingMailAbstract extends APS_Hosting_ResourceAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Hosting_ResourceAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Hosting_ResourceAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Hosting_ResourceAbstract::__isset($var);
	}

	function smtpHost() {
		return APS_Hosting_OutgoingMailAbstract_smtpHost($this->_cPtr);
	}

	function smtpPort() {
		return APS_Hosting_OutgoingMailAbstract_smtpPort($this->_cPtr);
	}

	function smtpSSLPort() {
		return APS_Hosting_OutgoingMailAbstract_smtpSSLPort($this->_cPtr);
	}

	function smtpUser() {
		return APS_Hosting_OutgoingMailAbstract_smtpUser($this->_cPtr);
	}

	function smtpPassword() {
		return APS_Hosting_OutgoingMailAbstract_smtpPassword($this->_cPtr);
	}

	function resourceType() {
		return APS_Hosting_OutgoingMailAbstract_resourceType($this->_cPtr);
	}

	function resourceBaseType() {
		return APS_Hosting_OutgoingMailAbstract_resourceBaseType($this->_cPtr);
	}

	function resourceDescriptor() {
		$r=APS_Hosting_OutgoingMailAbstract_resourceDescriptor($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Provision_OptResourceDescriptor($r);
		}
		return $r;
	}

	function environmentVariables($requirementId) {
		$r=APS_Hosting_OutgoingMailAbstract_environmentVariables($this->_cPtr,$requirementId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StringReadOnlyMap($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Hosting__OutgoingMail') {
			$this->_cPtr=$res;
			return;
		}
		if (get_class($this) === 'APS_Hosting_OutgoingMailAbstract') {
			$_this = null;
		} else {
			$_this = $this;
		}
		$this->_cPtr=new_APS_Hosting_OutgoingMailAbstract($_this);
	}
}

class std_PropertySet {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_std__setT_APS__Registry__Property_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_std_PropertySet();
	}

	function isEmpty() {
		return std_PropertySet_isEmpty($this->_cPtr);
	}

	function size() {
		return std_PropertySet_size($this->_cPtr);
	}

	function clear() {
		std_PropertySet_clear($this->_cPtr);
	}

	function count($key) {
		return std_PropertySet_count($this->_cPtr,$key);
	}

	function insert($value) {
		std_PropertySet_insert($this->_cPtr,$value);
	}

	function get($key) {
		$r=std_PropertySet_get($this->_cPtr,$key);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Property($r);
		}
		return $r;
	}
}

class APS_Registry_UsageCounterSet {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_std__setT_APS__Registry__UsageCounter_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_UsageCounterSet();
	}

	function isEmpty() {
		return APS_Registry_UsageCounterSet_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Registry_UsageCounterSet_size($this->_cPtr);
	}

	function clear() {
		APS_Registry_UsageCounterSet_clear($this->_cPtr);
	}

	function count($key) {
		return APS_Registry_UsageCounterSet_count($this->_cPtr,$key);
	}

	function insert($value) {
		APS_Registry_UsageCounterSet_insert($this->_cPtr,$value);
	}

	function get($key) {
		$r=APS_Registry_UsageCounterSet_get($this->_cPtr,$key);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_UsageCounter($r);
		}
		return $r;
	}
}

class APS_Registry_Tag {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'first') return APS_Registry_Tag_first_set($this->_cPtr,$value);
		if ($var === 'second') return APS_Registry_Tag_second_set($this->_cPtr,$value);
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'first') return APS_Registry_Tag_first_get($this->_cPtr);
		if ($var === 'second') return APS_Registry_Tag_second_get($this->_cPtr);
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if (function_exists('APS_Registry_Tag_'.$var.'_get')) return true;
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($first_or_other=null,$second=null) {
		if (is_resource($first_or_other) && get_resource_type($first_or_other) === '_p_std__pairT_std__string_std__string_t') {
			$this->_cPtr=$first_or_other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Registry_Tag(); break;
		case 1: $this->_cPtr=new_APS_Registry_Tag($first_or_other); break;
		default: $this->_cPtr=new_APS_Registry_Tag($first_or_other,$second);
		}
	}
}

class APS_Registry_TagList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($n_or_other=null) {
		if (is_resource($n_or_other) && get_resource_type($n_or_other) === '_p_std__vectorT_std__pairT_std__string_std__string_t_t') {
			$this->_cPtr=$n_or_other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Registry_TagList(); break;
		default: $this->_cPtr=new_APS_Registry_TagList($n_or_other);
		}
	}

	function size() {
		return APS_Registry_TagList_size($this->_cPtr);
	}

	function capacity() {
		return APS_Registry_TagList_capacity($this->_cPtr);
	}

	function reserve($n) {
		APS_Registry_TagList_reserve($this->_cPtr,$n);
	}

	function clear() {
		APS_Registry_TagList_clear($this->_cPtr);
	}

	function push($x) {
		APS_Registry_TagList_push($this->_cPtr,$x);
	}

	function is_empty() {
		return APS_Registry_TagList_is_empty($this->_cPtr);
	}

	function pop() {
		$r=APS_Registry_TagList_pop($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Tag($r);
		}
		return $r;
	}

	function get($i) {
		$r=APS_Registry_TagList_get($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Tag($r);
		}
		return $r;
	}

	function set($i,$val) {
		APS_Registry_TagList_set($this->_cPtr,$i,$val);
	}
}

class APS_Registry_PackageReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Registry__Package_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_PackageReadOnlyList();
	}

	function isEmpty() {
		return APS_Registry_PackageReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Registry_PackageReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Registry_PackageReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Package($r);
		}
		return $r;
	}
}

class APS_Registry_PackageList extends APS_Registry_PackageReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Registry_PackageReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Registry_PackageReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Registry_PackageReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Registry_PackageList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Registry_PackageList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Registry__Package_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_PackageList();
	}
}

class APS_Registry_ResourceReferenceList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($n_or_other=null) {
		if (is_resource($n_or_other) && get_resource_type($n_or_other) === '_p_std__vectorT_APS__Registry__ResourceReference_t') {
			$this->_cPtr=$n_or_other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Registry_ResourceReferenceList(); break;
		default: $this->_cPtr=new_APS_Registry_ResourceReferenceList($n_or_other);
		}
	}

	function size() {
		return APS_Registry_ResourceReferenceList_size($this->_cPtr);
	}

	function capacity() {
		return APS_Registry_ResourceReferenceList_capacity($this->_cPtr);
	}

	function reserve($n) {
		APS_Registry_ResourceReferenceList_reserve($this->_cPtr,$n);
	}

	function clear() {
		APS_Registry_ResourceReferenceList_clear($this->_cPtr);
	}

	function push($x) {
		APS_Registry_ResourceReferenceList_push($this->_cPtr,$x);
	}

	function is_empty() {
		return APS_Registry_ResourceReferenceList_is_empty($this->_cPtr);
	}

	function pop() {
		$r=APS_Registry_ResourceReferenceList_pop($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceReference($r);
		}
		return $r;
	}

	function get($i) {
		$r=APS_Registry_ResourceReferenceList_get($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceReference($r);
		}
		return $r;
	}

	function set($i,$val) {
		APS_Registry_ResourceReferenceList_set($this->_cPtr,$i,$val);
	}
}

class APS_Registry_Property {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getName() {
		return APS_Registry_Property_getName($this->_cPtr);
	}

	function getValue($i) {
		return APS_Registry_Property_getValue($this->_cPtr,$i);
	}

	function deleteValue($i) {
		APS_Registry_Property_deleteValue($this->_cPtr,$i);
	}

	function getUUID() {
		return APS_Registry_Property_getUUID($this->_cPtr);
	}

	function size() {
		return APS_Registry_Property_size($this->_cPtr);
	}

	function setValue($value,$arg2=null) {
		switch (func_num_args()) {
		case 1: $r=APS_Registry_Property_setValue($this->_cPtr,$value); break;
		default: $r=APS_Registry_Property_setValue($this->_cPtr,$value,$arg2);
		}
		if (!is_resource($r)) return $r;
		return new APS_Registry_Property($r);
	}

	function setUUID($uuid) {
		$r=APS_Registry_Property_setUUID($this->_cPtr,$uuid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Property($r);
		}
		return $r;
	}

	function appendValue($value) {
		$r=APS_Registry_Property_appendValue($this->_cPtr,$value);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Property($r);
		}
		return $r;
	}

	function resetValues() {
		$r=APS_Registry_Property_resetValues($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Property($r);
		}
		return $r;
	}

	function __construct($propName_or_other) {
		if (is_resource($propName_or_other) && get_resource_type($propName_or_other) === '_p_APS__Registry__Property') {
			$this->_cPtr=$propName_or_other;
			return;
		}
		$this->_cPtr=new_APS_Registry_Property($propName_or_other);
	}
}

class APS_Registry_PropertySet extends std_PropertySet {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		std_PropertySet::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return std_PropertySet::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return std_PropertySet::__isset($var);
	}

	function getByName($arg1) {
		$r=APS_Registry_PropertySet_getByName($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Property($r);
		}
		return $r;
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__PropertySet') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_PropertySet();
	}
}

class APS_Registry_UsageCounter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($name_or_counter,$unit=null) {
		if (is_resource($name_or_counter) && get_resource_type($name_or_counter) === '_p_APS__Registry__UsageCounter') {
			$this->_cPtr=$name_or_counter;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_UsageCounter($name_or_counter); break;
		default: $this->_cPtr=new_APS_Registry_UsageCounter($name_or_counter,$unit);
		}
	}

	function getName() {
		return APS_Registry_UsageCounter_getName($this->_cPtr);
	}

	function getUnit() {
		return APS_Registry_UsageCounter_getUnit($this->_cPtr);
	}

	function getValue() {
		return APS_Registry_UsageCounter_getValue($this->_cPtr);
	}

	function setValue($value) {
		APS_Registry_UsageCounter_setValue($this->_cPtr,$value);
	}

	function getLimit() {
		return APS_Registry_UsageCounter_getLimit($this->_cPtr);
	}

	function setLimit($limit) {
		APS_Registry_UsageCounter_setLimit($this->_cPtr,$limit);
	}
}

abstract class APS_Registry_RegistryObjectAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function getUID() {
		return APS_Registry_RegistryObjectAbstract_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_RegistryObjectAbstract_getType($this->_cPtr);
	}

	function getTags() {
		$r=APS_Registry_RegistryObjectAbstract_getTags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function addTags($tags) {
		APS_Registry_RegistryObjectAbstract_addTags($this->_cPtr,$tags);
	}

	function setTags($tags) {
		APS_Registry_RegistryObjectAbstract_setTags($this->_cPtr,$tags);
	}

	function clearTags() {
		APS_Registry_RegistryObjectAbstract_clearTags($this->_cPtr);
	}

	function isEnabled() {
		return APS_Registry_RegistryObjectAbstract_isEnabled($this->_cPtr);
	}
}

class APS_Registry_Package extends APS_Registry_RegistryObjectAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Registry_RegistryObjectAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Registry_RegistryObjectAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Registry_RegistryObjectAbstract::__isset($var);
	}

	function getPackageID() {
		return APS_Registry_Package_getPackageID($this->_cPtr);
	}

	function getName() {
		return APS_Registry_Package_getName($this->_cPtr);
	}

	function getCommercialName() {
		return APS_Registry_Package_getCommercialName($this->_cPtr);
	}

	function getVersion() {
		return APS_Registry_Package_getVersion($this->_cPtr);
	}

	function getRelease() {
		return APS_Registry_Package_getRelease($this->_cPtr);
	}

	function getSpecVersion() {
		return APS_Registry_Package_getSpecVersion($this->_cPtr);
	}

	function getFullVersion() {
		return APS_Registry_Package_getFullVersion($this->_cPtr);
	}

	function getSeries() {
		return APS_Registry_Package_getSeries($this->_cPtr);
	}

	function getMasterSeries() {
		return APS_Registry_Package_getMasterSeries($this->_cPtr);
	}

	function isAddon() {
		return APS_Registry_Package_isAddon($this->_cPtr);
	}

	function getMetafileURI() {
		return APS_Registry_Package_getMetafileURI($this->_cPtr);
	}

	function getArchiveURI() {
		return APS_Registry_Package_getArchiveURI($this->_cPtr);
	}

	function getSourceURI() {
		return APS_Registry_Package_getSourceURI($this->_cPtr);
	}

	function getContentRootURI() {
		return APS_Registry_Package_getContentRootURI($this->_cPtr);
	}

	function relocate($new_content_root_uri,$new_archive_uri,$new_metafile_uri) {
		APS_Registry_Package_relocate($this->_cPtr,$new_content_root_uri,$new_archive_uri,$new_metafile_uri);
	}

	function setDefaultConfiguration($config_uid) {
		APS_Registry_Package_setDefaultConfiguration($this->_cPtr,$config_uid);
	}

	function save() {
		return APS_Registry_Package_save($this->_cPtr);
	}

	function load($uid) {
		return APS_Registry_Package_load($this->_cPtr,$uid);
	}

	function remove() {
		APS_Registry_Package_remove($this->_cPtr);
	}

	function getUID() {
		return APS_Registry_Package_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_Package_getType($this->_cPtr);
	}

	function getTags() {
		$r=APS_Registry_Package_getTags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function addTags($tags) {
		APS_Registry_Package_addTags($this->_cPtr,$tags);
	}

	function setTags($tags) {
		APS_Registry_Package_setTags($this->_cPtr,$tags);
	}

	function clearTags() {
		APS_Registry_Package_clearTags($this->_cPtr);
	}

	function isEnabled() {
		return APS_Registry_Package_isEnabled($this->_cPtr);
	}

	function __construct($config,$package_info_or_dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__Package') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_Package($config); break;
		default: $this->_cPtr=new_APS_Registry_Package($config,$package_info_or_dbo);
		}
	}
}

class APS_Registry_PackageService {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getPackageUID() {
		return APS_Registry_PackageService_getPackageUID($this->_cPtr);
	}

	function getServiceID() {
		return APS_Registry_PackageService_getServiceID($this->_cPtr);
	}

	function getResourceType() {
		return APS_Registry_PackageService_getResourceType($this->_cPtr);
	}

	function getServiceClass() {
		return APS_Registry_PackageService_getServiceClass($this->_cPtr);
	}

	function __construct($config,$dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__PackageService') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_PackageService($config); break;
		default: $this->_cPtr=new_APS_Registry_PackageService($config,$dbo);
		}
	}
}

class APS_Registry_PackageConfiguration {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getUID() {
		return APS_Registry_PackageConfiguration_getUID($this->_cPtr);
	}

	function getSeries() {
		return APS_Registry_PackageConfiguration_getSeries($this->_cPtr);
	}

	function getGlobalSettings($arg1) {
		APS_Registry_PackageConfiguration_getGlobalSettings($this->_cPtr,$arg1);
	}

	function getGlobalSettingsForPackage($package_full_version,$arg2) {
		APS_Registry_PackageConfiguration_getGlobalSettingsForPackage($this->_cPtr,$package_full_version,$arg2);
	}

	function getResourceSettings($service_id,$arg2) {
		APS_Registry_PackageConfiguration_getResourceSettings($this->_cPtr,$service_id,$arg2);
	}

	function getResourceSettingsForPackage($package_full_version,$service_id,$arg3) {
		APS_Registry_PackageConfiguration_getResourceSettingsForPackage($this->_cPtr,$package_full_version,$service_id,$arg3);
	}

	function setGlobalSettings($settings) {
		APS_Registry_PackageConfiguration_setGlobalSettings($this->_cPtr,$settings);
	}

	function setResourceSettings($service_id,$settings) {
		APS_Registry_PackageConfiguration_setResourceSettings($this->_cPtr,$service_id,$settings);
	}

	function preloadAllSettings() {
		APS_Registry_PackageConfiguration_preloadAllSettings($this->_cPtr);
	}

	function mergeSettings($config) {
		APS_Registry_PackageConfiguration_mergeSettings($this->_cPtr,$config);
	}

	function save() {
		return APS_Registry_PackageConfiguration_save($this->_cPtr);
	}

	function remove() {
		APS_Registry_PackageConfiguration_remove($this->_cPtr);
	}

	function load($uid) {
		return APS_Registry_PackageConfiguration_load($this->_cPtr,$uid);
	}

	function __construct($config,$package_uid_or_dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__PackageConfiguration') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_PackageConfiguration($config); break;
		default: $this->_cPtr=new_APS_Registry_PackageConfiguration($config,$package_uid_or_dbo);
		}
	}
}

class APS_Registry_Application extends APS_Registry_RegistryObjectAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Registry_RegistryObjectAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Registry_RegistryObjectAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Registry_RegistryObjectAbstract::__isset($var);
	}

	function getMasterUID() {
		return APS_Registry_Application_getMasterUID($this->_cPtr);
	}

	function getPackageUID() {
		return APS_Registry_Application_getPackageUID($this->_cPtr);
	}

	function setPackageUID($package_uid) {
		APS_Registry_Application_setPackageUID($this->_cPtr,$package_uid);
	}

	function getDefaultConfiguration() {
		return APS_Registry_Application_getDefaultConfiguration($this->_cPtr);
	}

	function setDefaultConfiguration($package_config_uid) {
		APS_Registry_Application_setDefaultConfiguration($this->_cPtr,$package_config_uid);
	}

	function applyConfiguration($config) {
		APS_Registry_Application_applyConfiguration($this->_cPtr,$config);
	}

	function getResourcePropertyAggregatedValue($service_id,$property_name,$exclude_resource_uid) {
		return APS_Registry_Application_getResourcePropertyAggregatedValue($this->_cPtr,$service_id,$property_name,$exclude_resource_uid);
	}

	function save() {
		return APS_Registry_Application_save($this->_cPtr);
	}

	function load($app_uid) {
		return APS_Registry_Application_load($this->_cPtr,$app_uid);
	}

	function remove() {
		APS_Registry_Application_remove($this->_cPtr);
	}

	function getUID() {
		return APS_Registry_Application_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_Application_getType($this->_cPtr);
	}

	function getTags() {
		$r=APS_Registry_Application_getTags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function addTags($tags) {
		APS_Registry_Application_addTags($this->_cPtr,$tags);
	}

	function setTags($tags) {
		APS_Registry_Application_setTags($this->_cPtr,$tags);
	}

	function clearTags() {
		APS_Registry_Application_clearTags($this->_cPtr);
	}

	function isEnabled() {
		return APS_Registry_Application_isEnabled($this->_cPtr);
	}

	function __construct($config,$pkg_or_dbo=null,$master=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__Application') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_Application($config); break;
		case 2: $this->_cPtr=new_APS_Registry_Application($config,$pkg_or_dbo); break;
		default: $this->_cPtr=new_APS_Registry_Application($config,$pkg_or_dbo,$master);
		}
	}
}

class APS_Registry_ApplicationBackup extends APS_Registry_RegistryObjectAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Registry_RegistryObjectAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Registry_RegistryObjectAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Registry_RegistryObjectAbstract::__isset($var);
	}

	function getBackupID() {
		return APS_Registry_ApplicationBackup_getBackupID($this->_cPtr);
	}

	function setBackupID($backup_id) {
		APS_Registry_ApplicationBackup_setBackupID($this->_cPtr,$backup_id);
	}

	function getApplicationUID() {
		return APS_Registry_ApplicationBackup_getApplicationUID($this->_cPtr);
	}

	function getPackageUID() {
		return APS_Registry_ApplicationBackup_getPackageUID($this->_cPtr);
	}

	function getProperties() {
		$r=APS_Registry_ApplicationBackup_getProperties($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PropertySet($r);
		}
		return $r;
	}

	function save() {
		return APS_Registry_ApplicationBackup_save($this->_cPtr);
	}

	function load($uid) {
		return APS_Registry_ApplicationBackup_load($this->_cPtr,$uid);
	}

	function remove() {
		APS_Registry_ApplicationBackup_remove($this->_cPtr);
	}

	function getUID() {
		return APS_Registry_ApplicationBackup_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_ApplicationBackup_getType($this->_cPtr);
	}

	function getTags() {
		$r=APS_Registry_ApplicationBackup_getTags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function addTags($tags) {
		APS_Registry_ApplicationBackup_addTags($this->_cPtr,$tags);
	}

	function setTags($tags) {
		APS_Registry_ApplicationBackup_setTags($this->_cPtr,$tags);
	}

	function clearTags() {
		APS_Registry_ApplicationBackup_clearTags($this->_cPtr);
	}

	function isEnabled() {
		return APS_Registry_ApplicationBackup_isEnabled($this->_cPtr);
	}

	function __construct($config,$app_or_dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__ApplicationBackup') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_ApplicationBackup($config); break;
		default: $this->_cPtr=new_APS_Registry_ApplicationBackup($config,$app_or_dbo);
		}
	}
}

class APS_Registry_Resource extends APS_Registry_RegistryObjectAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Registry_RegistryObjectAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Registry_RegistryObjectAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Registry_RegistryObjectAbstract::__isset($var);
	}

	function getApplicationUID() {
		return APS_Registry_Resource_getApplicationUID($this->_cPtr);
	}

	function setApplicationUID($app_uid) {
		APS_Registry_Resource_setApplicationUID($this->_cPtr,$app_uid);
	}

	function getParentUID() {
		return APS_Registry_Resource_getParentUID($this->_cPtr);
	}

	function getServiceID() {
		return APS_Registry_Resource_getServiceID($this->_cPtr);
	}

	function setServiceID($service_id) {
		APS_Registry_Resource_setServiceID($this->_cPtr,$service_id);
	}

	function getResourceType() {
		return APS_Registry_Resource_getResourceType($this->_cPtr);
	}

	function setResourceType($resource_type) {
		APS_Registry_Resource_setResourceType($this->_cPtr,$resource_type);
	}

	function getProperties() {
		$r=APS_Registry_Resource_getProperties($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PropertySet($r);
		}
		return $r;
	}

	function setProperties($props) {
		APS_Registry_Resource_setProperties($this->_cPtr,$props);
	}

	function getResourceReferences() {
		$r=APS_Registry_Resource_getResourceReferences($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceReferenceList($r);
		}
		return $r;
	}

	function addResourceReference($reference) {
		APS_Registry_Resource_addResourceReference($this->_cPtr,$reference);
	}

	function setResourceReferences($references) {
		APS_Registry_Resource_setResourceReferences($this->_cPtr,$references);
	}

	function enable() {
		APS_Registry_Resource_enable($this->_cPtr);
	}

	function disable() {
		APS_Registry_Resource_disable($this->_cPtr);
	}

	function save() {
		return APS_Registry_Resource_save($this->_cPtr);
	}

	function load($resource_uid) {
		return APS_Registry_Resource_load($this->_cPtr,$resource_uid);
	}

	function remove() {
		APS_Registry_Resource_remove($this->_cPtr);
	}

	function getUID() {
		return APS_Registry_Resource_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_Resource_getType($this->_cPtr);
	}

	function getTags() {
		$r=APS_Registry_Resource_getTags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function addTags($tags) {
		APS_Registry_Resource_addTags($this->_cPtr,$tags);
	}

	function setTags($tags) {
		APS_Registry_Resource_setTags($this->_cPtr,$tags);
	}

	function clearTags() {
		APS_Registry_Resource_clearTags($this->_cPtr);
	}

	function isEnabled() {
		return APS_Registry_Resource_isEnabled($this->_cPtr);
	}

	function __construct($config,$parent_resource_or_app_or_dbo=null,$service_id=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__Resource') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_Resource($config); break;
		case 2: $this->_cPtr=new_APS_Registry_Resource($config,$parent_resource_or_app_or_dbo); break;
		default: $this->_cPtr=new_APS_Registry_Resource($config,$parent_resource_or_app_or_dbo,$service_id);
		}
	}
}

class APS_Registry_ResourceReference {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getUID() {
		return APS_Registry_ResourceReference_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_ResourceReference_getType($this->_cPtr);
	}

	function setUnique($scope) {
		APS_Registry_ResourceReference_setUnique($this->_cPtr,$scope);
	}

	function isUnique() {
		return APS_Registry_ResourceReference_isUnique($this->_cPtr);
	}

	function getUniquenessScope() {
		return APS_Registry_ResourceReference_getUniquenessScope($this->_cPtr);
	}

	function getRequirementID() {
		return APS_Registry_ResourceReference_getRequirementID($this->_cPtr);
	}

	function setRequirementID($requirement_id) {
		APS_Registry_ResourceReference_setRequirementID($this->_cPtr,$requirement_id);
	}

	function getBranch() {
		return APS_Registry_ResourceReference_getBranch($this->_cPtr);
	}

	function setBranch($branch) {
		APS_Registry_ResourceReference_setBranch($this->_cPtr,$branch);
	}

	function __construct($resource_uid_or_link=null,$resource_type=null) {
		if (is_resource($resource_uid_or_link) && get_resource_type($resource_uid_or_link) === '_p_APS__Registry__ResourceReference') {
			$this->_cPtr=$resource_uid_or_link;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Registry_ResourceReference(); break;
		case 1: $this->_cPtr=new_APS_Registry_ResourceReference($resource_uid_or_link); break;
		default: $this->_cPtr=new_APS_Registry_ResourceReference($resource_uid_or_link,$resource_type);
		}
	}
}

class APS_Registry_ResourceBackup extends APS_Registry_RegistryObjectAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Registry_RegistryObjectAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Registry_RegistryObjectAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Registry_RegistryObjectAbstract::__isset($var);
	}

	function getBackupID() {
		return APS_Registry_ResourceBackup_getBackupID($this->_cPtr);
	}

	function setBackupID($backup_id) {
		APS_Registry_ResourceBackup_setBackupID($this->_cPtr,$backup_id);
	}

	function getApplicationBackupUID() {
		return APS_Registry_ResourceBackup_getApplicationBackupUID($this->_cPtr);
	}

	function getParentBackupUID() {
		return APS_Registry_ResourceBackup_getParentBackupUID($this->_cPtr);
	}

	function getResourceUID() {
		return APS_Registry_ResourceBackup_getResourceUID($this->_cPtr);
	}

	function getParentResourceUID() {
		return APS_Registry_ResourceBackup_getParentResourceUID($this->_cPtr);
	}

	function getServiceID() {
		return APS_Registry_ResourceBackup_getServiceID($this->_cPtr);
	}

	function getProperties() {
		$r=APS_Registry_ResourceBackup_getProperties($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PropertySet($r);
		}
		return $r;
	}

	function save() {
		return APS_Registry_ResourceBackup_save($this->_cPtr);
	}

	function load($uid) {
		return APS_Registry_ResourceBackup_load($this->_cPtr,$uid);
	}

	function remove() {
		APS_Registry_ResourceBackup_remove($this->_cPtr);
	}

	function getUID() {
		return APS_Registry_ResourceBackup_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_ResourceBackup_getType($this->_cPtr);
	}

	function getTags() {
		$r=APS_Registry_ResourceBackup_getTags($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_TagList($r);
		}
		return $r;
	}

	function addTags($tags) {
		APS_Registry_ResourceBackup_addTags($this->_cPtr,$tags);
	}

	function setTags($tags) {
		APS_Registry_ResourceBackup_setTags($this->_cPtr,$tags);
	}

	function clearTags() {
		APS_Registry_ResourceBackup_clearTags($this->_cPtr);
	}

	function isEnabled() {
		return APS_Registry_ResourceBackup_isEnabled($this->_cPtr);
	}

	function __construct($config,$resource_or_dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__ResourceBackup') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_ResourceBackup($config); break;
		default: $this->_cPtr=new_APS_Registry_ResourceBackup($config,$resource_or_dbo);
		}
	}
}

class APS_Registry_ResourceRequirement {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getUID() {
		return APS_Registry_ResourceRequirement_getUID($this->_cPtr);
	}

	function setUID($uid) {
		APS_Registry_ResourceRequirement_setUID($this->_cPtr,$uid);
	}

	function getType() {
		return APS_Registry_ResourceRequirement_getType($this->_cPtr);
	}

	function setType($type) {
		APS_Registry_ResourceRequirement_setType($this->_cPtr,$type);
	}

	function getName() {
		return APS_Registry_ResourceRequirement_getName($this->_cPtr);
	}

	function setName($name) {
		APS_Registry_ResourceRequirement_setName($this->_cPtr,$name);
	}

	function getBranch() {
		return APS_Registry_ResourceRequirement_getBranch($this->_cPtr);
	}

	function setBranch($branch) {
		APS_Registry_ResourceRequirement_setBranch($this->_cPtr,$branch);
	}

	function save() {
		return APS_Registry_ResourceRequirement_save($this->_cPtr);
	}

	function load($uid_or_pid) {
		return APS_Registry_ResourceRequirement_load($this->_cPtr,$uid_or_pid);
	}

	function remove() {
		APS_Registry_ResourceRequirement_remove($this->_cPtr);
	}

	function __construct($config,$dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__ResourceRequirement') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_ResourceRequirement($config); break;
		default: $this->_cPtr=new_APS_Registry_ResourceRequirement($config,$dbo);
		}
	}
}

class APS_Registry_ResourceRequirementBackup {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getUID() {
		return APS_Registry_ResourceRequirementBackup_getUID($this->_cPtr);
	}

	function getType() {
		return APS_Registry_ResourceRequirementBackup_getType($this->_cPtr);
	}

	function getName() {
		return APS_Registry_ResourceRequirementBackup_getName($this->_cPtr);
	}

	function getResourceBackupUID() {
		return APS_Registry_ResourceRequirementBackup_getResourceBackupUID($this->_cPtr);
	}

	function getBackupID() {
		return APS_Registry_ResourceRequirementBackup_getBackupID($this->_cPtr);
	}

	function setBackupID($backup_id) {
		APS_Registry_ResourceRequirementBackup_setBackupID($this->_cPtr,$backup_id);
	}

	function save() {
		return APS_Registry_ResourceRequirementBackup_save($this->_cPtr);
	}

	function load($uid) {
		return APS_Registry_ResourceRequirementBackup_load($this->_cPtr,$uid);
	}

	function remove() {
		APS_Registry_ResourceRequirementBackup_remove($this->_cPtr);
	}

	function __construct($config,$dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__ResourceRequirementBackup') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_ResourceRequirementBackup($config); break;
		default: $this->_cPtr=new_APS_Registry_ResourceRequirementBackup($config,$dbo);
		}
	}
}

class APS_Controller_RegistryConfiguration {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($config_file_path=null) {
		if (is_resource($config_file_path) && get_resource_type($config_file_path) === '_p_APS__Controller__RegistryConfiguration') {
			$this->_cPtr=$config_file_path;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_RegistryConfiguration(); break;
		default: $this->_cPtr=new_APS_Controller_RegistryConfiguration($config_file_path);
		}
	}

	function getDBParams() {
		return APS_Controller_RegistryConfiguration_getDBParams($this->_cPtr);
	}

	function setDBSourceInfo($rdbms_driver_library,$dsn,$db_name) {
		APS_Controller_RegistryConfiguration_setDBSourceInfo($this->_cPtr,$rdbms_driver_library,$dsn,$db_name);
	}

	function setDBConnectionInfo($odbc_driver,$rdbms_driver_library,$db_host,$db_port,$db_name) {
		APS_Controller_RegistryConfiguration_setDBConnectionInfo($this->_cPtr,$odbc_driver,$rdbms_driver_library,$db_host,$db_port,$db_name);
	}

	function setDBAuthInfo($login_name,$login_passwd) {
		APS_Controller_RegistryConfiguration_setDBAuthInfo($this->_cPtr,$login_name,$login_passwd);
	}

	function getPackageRepositoryPath() {
		return APS_Controller_RegistryConfiguration_getPackageRepositoryPath($this->_cPtr);
	}

	function setPackageRepositoryPath($dir) {
		APS_Controller_RegistryConfiguration_setPackageRepositoryPath($this->_cPtr,$dir);
	}

	function packageReimportAllowed() {
		return APS_Controller_RegistryConfiguration_packageReimportAllowed($this->_cPtr);
	}

	function setPackageReimportAllowed($flag) {
		APS_Controller_RegistryConfiguration_setPackageReimportAllowed($this->_cPtr,$flag);
	}

	function maxAllowedMetaInfoCacheLength() {
		return APS_Controller_RegistryConfiguration_maxAllowedMetaInfoCacheLength($this->_cPtr);
	}

	function setIdentitySequenceNameTemplate($tmpl) {
		APS_Controller_RegistryConfiguration_setIdentitySequenceNameTemplate($this->_cPtr,$tmpl);
	}

	function resetIdentitySequenceNameTemplate() {
		APS_Controller_RegistryConfiguration_resetIdentitySequenceNameTemplate($this->_cPtr);
	}
}

class APS_Registry_BackupArchive {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	static function opt_none() {
		if (func_num_args()) {
			APS_Registry_BackupArchive_opt_none_set(func_get_arg(0));
			return;
		}

		return APS_Registry_BackupArchive_opt_none_get();
	}

	static function opt_with_package_config() {
		if (func_num_args()) {
			APS_Registry_BackupArchive_opt_with_package_config_set(func_get_arg(0));
			return;
		}

		return APS_Registry_BackupArchive_opt_with_package_config_get();
	}

	function __construct($registry_config,$app_backup_uid=null,$opt=null) {
		if (is_resource($registry_config) && get_resource_type($registry_config) === '_p_APS__Registry__BackupArchive') {
			$this->_cPtr=$registry_config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_BackupArchive($registry_config); break;
		case 2: $this->_cPtr=new_APS_Registry_BackupArchive($registry_config,$app_backup_uid); break;
		default: $this->_cPtr=new_APS_Registry_BackupArchive($registry_config,$app_backup_uid,$opt);
		}
	}

	function extractApplicationBackup() {
		return APS_Registry_BackupArchive_extractApplicationBackup($this->_cPtr);
	}

	function remapResourceReferences($mapping) {
		APS_Registry_BackupArchive_remapResourceReferences($this->_cPtr,$mapping);
	}

	function packageRegistered() {
		return APS_Registry_BackupArchive_packageRegistered($this->_cPtr);
	}

	function dump() {
		return APS_Registry_BackupArchive_dump($this->_cPtr);
	}
}

class APS_Registry_ResourceUsageCounter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getCounterID() {
		return APS_Registry_ResourceUsageCounter_getCounterID($this->_cPtr);
	}

	function getUnit() {
		return APS_Registry_ResourceUsageCounter_getUnit($this->_cPtr);
	}

	function getValue() {
		return APS_Registry_ResourceUsageCounter_getValue($this->_cPtr);
	}

	function setValue($value) {
		APS_Registry_ResourceUsageCounter_setValue($this->_cPtr,$value);
	}

	function getLimit() {
		return APS_Registry_ResourceUsageCounter_getLimit($this->_cPtr);
	}

	function setLimit($limit) {
		APS_Registry_ResourceUsageCounter_setLimit($this->_cPtr,$limit);
	}

	function save() {
		return APS_Registry_ResourceUsageCounter_save($this->_cPtr);
	}

	function load($pid) {
		return APS_Registry_ResourceUsageCounter_load($this->_cPtr,$pid);
	}

	function remove() {
		APS_Registry_ResourceUsageCounter_remove($this->_cPtr);
	}

	function __construct($config,$dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__ResourceUsageCounter') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_ResourceUsageCounter($config); break;
		default: $this->_cPtr=new_APS_Registry_ResourceUsageCounter($config,$dbo);
		}
	}
}

class APS_Registry_ResourceUsageReport {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function getResourceUID() {
		return APS_Registry_ResourceUsageReport_getResourceUID($this->_cPtr);
	}

	function getLastUpdateDelay() {
		return APS_Registry_ResourceUsageReport_getLastUpdateDelay($this->_cPtr);
	}

	function getPollInterval() {
		return APS_Registry_ResourceUsageReport_getPollInterval($this->_cPtr);
	}

	function setPollInterval($interval) {
		APS_Registry_ResourceUsageReport_setPollInterval($this->_cPtr,$interval);
	}

	function getCounters() {
		$r=APS_Registry_ResourceUsageReport_getCounters($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_UsageCounterSet($r);
		}
		return $r;
	}

	function setCounters($counters) {
		APS_Registry_ResourceUsageReport_setCounters($this->_cPtr,$counters);
	}

	function save() {
		return APS_Registry_ResourceUsageReport_save($this->_cPtr);
	}

	function load($pid) {
		return APS_Registry_ResourceUsageReport_load($this->_cPtr,$pid);
	}

	function remove() {
		APS_Registry_ResourceUsageReport_remove($this->_cPtr);
	}

	function __construct($config,$resource_uid_or_dbo=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Registry__ResourceUsageReport') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 1: $this->_cPtr=new_APS_Registry_ResourceUsageReport($config); break;
		default: $this->_cPtr=new_APS_Registry_ResourceUsageReport($config,$resource_uid_or_dbo);
		}
	}
}

class APS_Registry_SettingsMassEncrypter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($registry_config) {
		if (is_resource($registry_config) && get_resource_type($registry_config) === '_p_APS__Registry__SettingsMassEncrypter') {
			$this->_cPtr=$registry_config;
			return;
		}
		$this->_cPtr=new_APS_Registry_SettingsMassEncrypter($registry_config);
	}

	function encrypt($key) {
		APS_Registry_SettingsMassEncrypter_encrypt($this->_cPtr,$key);
	}

	function reencrypt($new_key) {
		APS_Registry_SettingsMassEncrypter_reencrypt($this->_cPtr,$new_key);
	}
}

class APS_Registry_PackageBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__PackageBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_PackageBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_PackageBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function masterUID($uid) {
		$r=APS_Registry_PackageBrowseFilter_masterUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function series($package_id,$package_name) {
		$r=APS_Registry_PackageBrowseFilter_series($this->_cPtr,$package_id,$package_name);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function seriesID($series_id) {
		$r=APS_Registry_PackageBrowseFilter_seriesID($this->_cPtr,$series_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function enabled($flag) {
		$r=APS_Registry_PackageBrowseFilter_enabled($this->_cPtr,$flag);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function latest() {
		$r=APS_Registry_PackageBrowseFilter_latest($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function minVersion($version) {
		$r=APS_Registry_PackageBrowseFilter_minVersion($this->_cPtr,$version);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function maxVersion($version) {
		$r=APS_Registry_PackageBrowseFilter_maxVersion($this->_cPtr,$version);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}

	function tagValue($tag_name,$value) {
		$r=APS_Registry_PackageBrowseFilter_tagValue($this->_cPtr,$tag_name,$value);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ApplicationBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ApplicationBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ApplicationBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_ApplicationBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}

	function masterUID($uid) {
		$r=APS_Registry_ApplicationBrowseFilter_masterUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}

	function packageUID($uid) {
		$r=APS_Registry_ApplicationBrowseFilter_packageUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}

	function packageConfigurationUID($uid) {
		$r=APS_Registry_ApplicationBrowseFilter_packageConfigurationUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}

	function enabled($flag) {
		$r=APS_Registry_ApplicationBrowseFilter_enabled($this->_cPtr,$flag);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}

	function tagValue($tag_name,$value) {
		$r=APS_Registry_ApplicationBrowseFilter_tagValue($this->_cPtr,$tag_name,$value);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}

	function minVersion($version) {
		$r=APS_Registry_ApplicationBrowseFilter_minVersion($this->_cPtr,$version);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_PackageConfigurationBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__PackageConfigurationBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_PackageConfigurationBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_PackageConfigurationBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfigurationBrowseFilter($r);
		}
		return $r;
	}

	function series($series_id) {
		$r=APS_Registry_PackageConfigurationBrowseFilter_series($this->_cPtr,$series_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfigurationBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ResourceBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ResourceBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_ResourceBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function parentUID($uid) {
		$r=APS_Registry_ResourceBrowseFilter_parentUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function appUID($uid) {
		$r=APS_Registry_ResourceBrowseFilter_appUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function resourceType($resType) {
		$r=APS_Registry_ResourceBrowseFilter_resourceType($this->_cPtr,$resType);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function requirementUID($uid) {
		$r=APS_Registry_ResourceBrowseFilter_requirementUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function dependentResourceUID($uid) {
		$r=APS_Registry_ResourceBrowseFilter_dependentResourceUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function enabled($flag) {
		$r=APS_Registry_ResourceBrowseFilter_enabled($this->_cPtr,$flag);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function tagValue($tag_name,$value) {
		$r=APS_Registry_ResourceBrowseFilter_tagValue($this->_cPtr,$tag_name,$value);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}

	function settingValue($name,$value) {
		$r=APS_Registry_ResourceBrowseFilter_settingValue($this->_cPtr,$name,$value);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceRequirementBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ResourceRequirementBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ResourceRequirementBrowseFilter();
	}

	function resourceType($type) {
		$r=APS_Registry_ResourceRequirementBrowseFilter_resourceType($this->_cPtr,$type);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBrowseFilter($r);
		}
		return $r;
	}

	function resourceUID($uid) {
		$r=APS_Registry_ResourceRequirementBrowseFilter_resourceUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBrowseFilter($r);
		}
		return $r;
	}

	function withBranch($flag) {
		$r=APS_Registry_ResourceRequirementBrowseFilter_withBranch($this->_cPtr,$flag);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_PackageServiceBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__PackageServiceBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_PackageServiceBrowseFilter();
	}

	function packageUID($uid) {
		$r=APS_Registry_PackageServiceBrowseFilter_packageUID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageServiceBrowseFilter($r);
		}
		return $r;
	}

	function series($series_id) {
		$r=APS_Registry_PackageServiceBrowseFilter_series($this->_cPtr,$series_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageServiceBrowseFilter($r);
		}
		return $r;
	}

	function serviceID($service_id) {
		$r=APS_Registry_PackageServiceBrowseFilter_serviceID($this->_cPtr,$service_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageServiceBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceBackupBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ResourceBackupBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ResourceBackupBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_ResourceBackupBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackupBrowseFilter($r);
		}
		return $r;
	}

	function resourceUID($resource_uid) {
		$r=APS_Registry_ResourceBackupBrowseFilter_resourceUID($this->_cPtr,$resource_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackupBrowseFilter($r);
		}
		return $r;
	}

	function applicationBackupUID($app_backup_uid) {
		$r=APS_Registry_ResourceBackupBrowseFilter_applicationBackupUID($this->_cPtr,$app_backup_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackupBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ApplicationBackupBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ApplicationBackupBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ApplicationBackupBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_ApplicationBackupBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackupBrowseFilter($r);
		}
		return $r;
	}

	function applicationUID($app_uid) {
		$r=APS_Registry_ApplicationBackupBrowseFilter_applicationUID($this->_cPtr,$app_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackupBrowseFilter($r);
		}
		return $r;
	}

	function packageUID($package_uid) {
		$r=APS_Registry_ApplicationBackupBrowseFilter_packageUID($this->_cPtr,$package_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackupBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceRequirementBackupBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ResourceRequirementBackupBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ResourceRequirementBackupBrowseFilter();
	}

	function UID($uid) {
		$r=APS_Registry_ResourceRequirementBackupBrowseFilter_UID($this->_cPtr,$uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackupBrowseFilter($r);
		}
		return $r;
	}

	function requirementID($requirement_id) {
		$r=APS_Registry_ResourceRequirementBackupBrowseFilter_requirementID($this->_cPtr,$requirement_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackupBrowseFilter($r);
		}
		return $r;
	}

	function resourceBackupUID($resource_backup_uid) {
		$r=APS_Registry_ResourceRequirementBackupBrowseFilter_resourceBackupUID($this->_cPtr,$resource_backup_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackupBrowseFilter($r);
		}
		return $r;
	}

	function externalBackupID($backup_id) {
		$r=APS_Registry_ResourceRequirementBackupBrowseFilter_externalBackupID($this->_cPtr,$backup_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackupBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceUsageReportBrowseFilter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Registry__ResourceUsageReportBrowseFilter') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Registry_ResourceUsageReportBrowseFilter();
	}

	function resourceUID($resource_uid) {
		$r=APS_Registry_ResourceUsageReportBrowseFilter_resourceUID($this->_cPtr,$resource_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceUsageReportBrowseFilter($r);
		}
		return $r;
	}

	function series($series_id) {
		$r=APS_Registry_ResourceUsageReportBrowseFilter_series($this->_cPtr,$series_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceUsageReportBrowseFilter($r);
		}
		return $r;
	}
}

class APS_Registry_PackageBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_PackageBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_PackageBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_PackageBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Package($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_PackageBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_PackageBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_PackageServiceBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_PackageServiceBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_PackageServiceBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_PackageServiceBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageService($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_PackageServiceBrowser_reset($this->_cPtr);
	}
}

class APS_Registry_ApplicationBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ApplicationBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ApplicationBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ApplicationBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Application($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ApplicationBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_ApplicationBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_PackageConfigurationBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_PackageConfigurationBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_PackageConfigurationBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_PackageConfigurationBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfiguration($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_PackageConfigurationBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_PackageConfigurationBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ResourceBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ResourceBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ResourceBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Resource($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ResourceBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_ResourceBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceRequirementBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ResourceRequirementBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ResourceRequirementBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ResourceRequirementBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirement($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ResourceRequirementBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_ResourceRequirementBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceBackupBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ResourceBackupBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ResourceBackupBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ResourceBackupBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackup($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ResourceBackupBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_ResourceBackupBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_ApplicationBackupBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ApplicationBackupBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ApplicationBackupBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ApplicationBackupBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackup($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ApplicationBackupBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_ApplicationBackupBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceRequirementBackupBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ResourceRequirementBackupBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ResourceRequirementBackupBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ResourceRequirementBackupBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackup($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ResourceRequirementBackupBrowser_reset($this->_cPtr);
	}

	function getUIDs() {
		$r=APS_Registry_ResourceRequirementBackupBrowser_getUIDs($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Registry_ResourceUsageReportBrowser {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function browse() {
		APS_Registry_ResourceUsageReportBrowser_browse($this->_cPtr);
	}

	function hasNext() {
		return APS_Registry_ResourceUsageReportBrowser_hasNext($this->_cPtr);
	}

	function next() {
		$r=APS_Registry_ResourceUsageReportBrowser_next($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceUsageReport($r);
		}
		return $r;
	}

	function reset() {
		APS_Registry_ResourceUsageReportBrowser_reset($this->_cPtr);
	}
}

class APS_Controller_Registry {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($config=null) {
		if (is_resource($config) && get_resource_type($config) === '_p_APS__Controller__Registry') {
			$this->_cPtr=$config;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_Registry(); break;
		default: $this->_cPtr=new_APS_Controller_Registry($config);
		}
	}

	function importPackage($archive_file_path) {
		$r=APS_Controller_Registry_importPackage($this->_cPtr,$archive_file_path);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Package($r);
		}
		return $r;
	}

	function getPackage($package_uid) {
		$r=APS_Controller_Registry_getPackage($this->_cPtr,$package_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Package($r);
		}
		return $r;
	}

	function removePackage($pkg) {
		APS_Controller_Registry_removePackage($this->_cPtr,$pkg);
	}

	function newPackageConfiguration($pkg) {
		$r=APS_Controller_Registry_newPackageConfiguration($this->_cPtr,$pkg);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfiguration($r);
		}
		return $r;
	}

	function getPackageConfiguration($config_uid) {
		$r=APS_Controller_Registry_getPackageConfiguration($this->_cPtr,$config_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfiguration($r);
		}
		return $r;
	}

	function getPackageUpgrades($pkg) {
		$r=APS_Controller_Registry_getPackageUpgrades($this->_cPtr,$pkg);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageReadOnlyList($r);
		}
		return $r;
	}

	function getUpgradablePackages($package_info) {
		$r=APS_Controller_Registry_getUpgradablePackages($this->_cPtr,$package_info);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageReadOnlyList($r);
		}
		return $r;
	}

	function newApplication($pkg) {
		$r=APS_Controller_Registry_newApplication($this->_cPtr,$pkg);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Application($r);
		}
		return $r;
	}

	function newAddon($pkg,$master) {
		$r=APS_Controller_Registry_newAddon($this->_cPtr,$pkg,$master);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Application($r);
		}
		return $r;
	}

	function getApplication($app_uid) {
		$r=APS_Controller_Registry_getApplication($this->_cPtr,$app_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Application($r);
		}
		return $r;
	}

	function newApplicationBackup($app) {
		$r=APS_Controller_Registry_newApplicationBackup($this->_cPtr,$app);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackup($r);
		}
		return $r;
	}

	function getApplicationBackup($backup_uid) {
		$r=APS_Controller_Registry_getApplicationBackup($this->_cPtr,$backup_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackup($r);
		}
		return $r;
	}

	function getApplicationUpgrades($app_uid) {
		$r=APS_Controller_Registry_getApplicationUpgrades($this->_cPtr,$app_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageReadOnlyList($r);
		}
		return $r;
	}

	function getResource($resource_uid) {
		$r=APS_Controller_Registry_getResource($this->_cPtr,$resource_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Resource($r);
		}
		return $r;
	}

	function newApplicationResource($app,$service_id) {
		$r=APS_Controller_Registry_newApplicationResource($this->_cPtr,$app,$service_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Resource($r);
		}
		return $r;
	}

	function newSubResource($parent_resource,$service_id) {
		$r=APS_Controller_Registry_newSubResource($this->_cPtr,$parent_resource,$service_id);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_Resource($r);
		}
		return $r;
	}

	function getResourceBackup($backup_uid) {
		$r=APS_Controller_Registry_getResourceBackup($this->_cPtr,$backup_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackup($r);
		}
		return $r;
	}

	function newResourceBackup($resource) {
		$r=APS_Controller_Registry_newResourceBackup($this->_cPtr,$resource);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackup($r);
		}
		return $r;
	}

	function getResourceRequirement($req_uid) {
		$r=APS_Controller_Registry_getResourceRequirement($this->_cPtr,$req_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirement($r);
		}
		return $r;
	}

	function getResourceRequirementBackup($backup_uid) {
		$r=APS_Controller_Registry_getResourceRequirementBackup($this->_cPtr,$backup_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackup($r);
		}
		return $r;
	}

	function getResourceUsageReport($resource_uid) {
		$r=APS_Controller_Registry_getResourceUsageReport($this->_cPtr,$resource_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceUsageReport($r);
		}
		return $r;
	}

	function updateResourceUsageReport($resource_uid,$counters) {
		$r=APS_Controller_Registry_updateResourceUsageReport($this->_cPtr,$resource_uid,$counters);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceUsageReport($r);
		}
		return $r;
	}

	function getSequence($key) {
		return APS_Controller_Registry_getSequence($this->_cPtr,$key);
	}

	function findGlobalScopeSettingDuplicates($settings_to_check,$resource_uid) {
		$r=APS_Controller_Registry_findGlobalScopeSettingDuplicates($this->_cPtr,$settings_to_check,$resource_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyList($r);
		}
		return $r;
	}

	function findResourceScopeSettingDuplicates($settings_to_check,$package_config_uid,$resource_uid) {
		$r=APS_Controller_Registry_findResourceScopeSettingDuplicates($this->_cPtr,$settings_to_check,$package_config_uid,$resource_uid);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyList($r);
		}
		return $r;
	}

	function findApplicationScopeSettingDuplicates($settings_to_check,$package_config_uid,$resource_uid_to_skip) {
		$r=APS_Controller_Registry_findApplicationScopeSettingDuplicates($this->_cPtr,$settings_to_check,$package_config_uid,$resource_uid_to_skip);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyList($r);
		}
		return $r;
	}

	function findOwnerScopeSettingDuplicates($settings_to_check,$resource_uid,$owner_name) {
		$r=APS_Controller_Registry_findOwnerScopeSettingDuplicates($this->_cPtr,$settings_to_check,$resource_uid,$owner_name);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyList($r);
		}
		return $r;
	}

	function createPackageBrowser($filter) {
		$r=APS_Controller_Registry_createPackageBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageBrowser($r);
		}
		return $r;
	}

	function createPackageServiceBrowser($filter) {
		$r=APS_Controller_Registry_createPackageServiceBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageServiceBrowser($r);
		}
		return $r;
	}

	function createApplicationBrowser($filter) {
		$r=APS_Controller_Registry_createApplicationBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBrowser($r);
		}
		return $r;
	}

	function createResourceBrowser($filter) {
		$r=APS_Controller_Registry_createResourceBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBrowser($r);
		}
		return $r;
	}

	function createResourceRequirementBrowser($filter) {
		$r=APS_Controller_Registry_createResourceRequirementBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBrowser($r);
		}
		return $r;
	}

	function createPackageConfigurationBrowser($filter) {
		$r=APS_Controller_Registry_createPackageConfigurationBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_PackageConfigurationBrowser($r);
		}
		return $r;
	}

	function createResourceBackupBrowser($filter) {
		$r=APS_Controller_Registry_createResourceBackupBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceBackupBrowser($r);
		}
		return $r;
	}

	function createApplicationBackupBrowser($filter) {
		$r=APS_Controller_Registry_createApplicationBackupBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ApplicationBackupBrowser($r);
		}
		return $r;
	}

	function createResourceRequirementBackupBrowser($filter) {
		$r=APS_Controller_Registry_createResourceRequirementBackupBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceRequirementBackupBrowser($r);
		}
		return $r;
	}

	function createResourceUsageReportBrowser($filter) {
		$r=APS_Controller_Registry_createResourceUsageReportBrowser($this->_cPtr,$filter);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Registry_ResourceUsageReportBrowser($r);
		}
		return $r;
	}
}

class APS_StringSharedReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_std__string_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_StringSharedReadOnlyList();
	}

	function isEmpty() {
		return APS_StringSharedReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_StringSharedReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		return APS_StringSharedReadOnlyList_at($this->_cPtr,$i);
	}
}

class APS_StringSharedList extends APS_StringSharedReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_StringSharedReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_StringSharedReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_StringSharedReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_StringSharedList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_StringSharedList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_std__string_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_StringSharedList();
	}
}

class APS_Controller_SettingReadOnlyMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedMapT_std__string_APS__Controller__Setting_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingReadOnlyMap();
	}

	function getValue($arg1) {
		$r=APS_Controller_SettingReadOnlyMap_getValue($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Setting($r);
		}
		return $r;
	}

	function isEmpty() {
		return APS_Controller_SettingReadOnlyMap_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_SettingReadOnlyMap_size($this->_cPtr);
	}

	function asUnorderedList() {
		$r=APS_Controller_SettingReadOnlyMap_asUnorderedList($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyList($r);
		}
		return $r;
	}

	function hasKey($key) {
		return APS_Controller_SettingReadOnlyMap_hasKey($this->_cPtr,$key);
	}

	function getKeys() {
		$r=APS_Controller_SettingReadOnlyMap_getKeys($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Controller_SettingSharedMap extends APS_Controller_SettingReadOnlyMap {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Controller_SettingReadOnlyMap::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Controller_SettingReadOnlyMap::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Controller_SettingReadOnlyMap::__isset($var);
	}

	function __construct($m=null) {
		if (is_resource($m) && get_resource_type($m) === '_p_APS__Util__SharedModifiableMapT_std__string_APS__Controller__Setting_t') {
			$this->_cPtr=$m;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_SettingSharedMap(); break;
		default: $this->_cPtr=new_APS_Controller_SettingSharedMap($m);
		}
	}

	function insert($k,$v=null) {
		switch (func_num_args()) {
		case 1: $r=APS_Controller_SettingSharedMap_insert($this->_cPtr,$k); break;
		default: $r=APS_Controller_SettingSharedMap_insert($this->_cPtr,$k,$v);
		}
		return $r;
	}

	function erase($arg1) {
		APS_Controller_SettingSharedMap_erase($this->_cPtr,$arg1);
	}

	function setValue($key,$value) {
		APS_Controller_SettingSharedMap_setValue($this->_cPtr,$key,$value);
	}
}

class APS_Controller_SettingReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__Setting_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingReadOnlyList();
	}

	function isEmpty() {
		return APS_Controller_SettingReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_SettingReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_SettingReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Setting($r);
		}
		return $r;
	}
}

class APS_Controller_StringReadOnlyMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedMapT_std__string_std__string_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_StringReadOnlyMap();
	}

	function getValue($arg1) {
		return APS_Controller_StringReadOnlyMap_getValue($this->_cPtr,$arg1);
	}

	function isEmpty() {
		return APS_Controller_StringReadOnlyMap_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_StringReadOnlyMap_size($this->_cPtr);
	}

	function asUnorderedList() {
		$r=APS_Controller_StringReadOnlyMap_asUnorderedList($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function hasKey($key) {
		return APS_Controller_StringReadOnlyMap_hasKey($this->_cPtr,$key);
	}

	function getKeys() {
		$r=APS_Controller_StringReadOnlyMap_getKeys($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Controller_StringMap extends APS_Controller_StringReadOnlyMap {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Controller_StringReadOnlyMap::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Controller_StringReadOnlyMap::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Controller_StringReadOnlyMap::__isset($var);
	}

	function __construct($m=null) {
		if (is_resource($m) && get_resource_type($m) === '_p_APS__Util__SharedModifiableMapT_std__string_std__string_t') {
			$this->_cPtr=$m;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_StringMap(); break;
		default: $this->_cPtr=new_APS_Controller_StringMap($m);
		}
	}

	function insert($k,$v=null) {
		switch (func_num_args()) {
		case 1: $r=APS_Controller_StringMap_insert($this->_cPtr,$k); break;
		default: $r=APS_Controller_StringMap_insert($this->_cPtr,$k,$v);
		}
		return $r;
	}

	function erase($arg1) {
		APS_Controller_StringMap_erase($this->_cPtr,$arg1);
	}

	function setValue($key,$value) {
		APS_Controller_StringMap_setValue($this->_cPtr,$key,$value);
	}
}

class APS_Controller_SettingValidationResultList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($n_or_other=null) {
		if (is_resource($n_or_other) && get_resource_type($n_or_other) === '_p_std__vectorT_APS__Controller__Validation__SettingValidationResult_t') {
			$this->_cPtr=$n_or_other;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_SettingValidationResultList(); break;
		default: $this->_cPtr=new_APS_Controller_SettingValidationResultList($n_or_other);
		}
	}

	function size() {
		return APS_Controller_SettingValidationResultList_size($this->_cPtr);
	}

	function capacity() {
		return APS_Controller_SettingValidationResultList_capacity($this->_cPtr);
	}

	function reserve($n) {
		APS_Controller_SettingValidationResultList_reserve($this->_cPtr,$n);
	}

	function clear() {
		APS_Controller_SettingValidationResultList_clear($this->_cPtr);
	}

	function push($x) {
		APS_Controller_SettingValidationResultList_push($this->_cPtr,$x);
	}

	function is_empty() {
		return APS_Controller_SettingValidationResultList_is_empty($this->_cPtr);
	}

	function pop() {
		$r=APS_Controller_SettingValidationResultList_pop($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingValidationResult($r);
		}
		return $r;
	}

	function get($i) {
		$r=APS_Controller_SettingValidationResultList_get($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingValidationResult($r);
		}
		return $r;
	}

	function set($i,$val) {
		APS_Controller_SettingValidationResultList_set($this->_cPtr,$i,$val);
	}
}

class APS_Controller_CounterReadOnlyMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedMapT_std__string_APS__Controller__Counter_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_CounterReadOnlyMap();
	}

	function getValue($arg1) {
		$r=APS_Controller_CounterReadOnlyMap_getValue($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Counter($r);
		}
		return $r;
	}

	function isEmpty() {
		return APS_Controller_CounterReadOnlyMap_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_CounterReadOnlyMap_size($this->_cPtr);
	}

	function asUnorderedList() {
		$r=APS_Controller_CounterReadOnlyMap_asUnorderedList($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_CounterReadOnlyList($r);
		}
		return $r;
	}

	function hasKey($key) {
		return APS_Controller_CounterReadOnlyMap_hasKey($this->_cPtr,$key);
	}

	function getKeys() {
		$r=APS_Controller_CounterReadOnlyMap_getKeys($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Controller_CounterMap extends APS_Controller_CounterReadOnlyMap {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Controller_CounterReadOnlyMap::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Controller_CounterReadOnlyMap::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Controller_CounterReadOnlyMap::__isset($var);
	}

	function __construct($m=null) {
		if (is_resource($m) && get_resource_type($m) === '_p_APS__Util__SharedModifiableMapT_std__string_APS__Controller__Counter_t') {
			$this->_cPtr=$m;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_CounterMap(); break;
		default: $this->_cPtr=new_APS_Controller_CounterMap($m);
		}
	}

	function insert($k,$v=null) {
		switch (func_num_args()) {
		case 1: $r=APS_Controller_CounterMap_insert($this->_cPtr,$k); break;
		default: $r=APS_Controller_CounterMap_insert($this->_cPtr,$k,$v);
		}
		return $r;
	}

	function erase($arg1) {
		APS_Controller_CounterMap_erase($this->_cPtr,$arg1);
	}

	function setValue($key,$value) {
		APS_Controller_CounterMap_setValue($this->_cPtr,$key,$value);
	}
}

class APS_Controller_CounterReadOnlyList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__Counter_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_CounterReadOnlyList();
	}

	function isEmpty() {
		return APS_Controller_CounterReadOnlyList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_CounterReadOnlyList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_CounterReadOnlyList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Counter($r);
		}
		return $r;
	}
}

class APS_Controller_CounterList extends APS_Controller_CounterReadOnlyList {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Controller_CounterReadOnlyList::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Controller_CounterReadOnlyList::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Controller_CounterReadOnlyList::__isset($var);
	}

	function push_back($arg1) {
		APS_Controller_CounterList_push_back($this->_cPtr,$arg1);
	}

	function clear() {
		APS_Controller_CounterList_clear($this->_cPtr);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedModifiableListT_APS__Controller__Counter_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_CounterList();
	}
}

class APS_Controller_Setting {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function getValue($i) {
		return APS_Controller_Setting_getValue($this->_cPtr,$i);
	}

	function size() {
		return APS_Controller_Setting_size($this->_cPtr);
	}

	function setValue($arg1) {
		$r=APS_Controller_Setting_setValue($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Setting($r);
		}
		return $r;
	}

	function appendValue($arg1) {
		$r=APS_Controller_Setting_appendValue($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Setting($r);
		}
		return $r;
	}

	function resetValues() {
		$r=APS_Controller_Setting_resetValues($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Setting($r);
		}
		return $r;
	}

	function isMultiValue() {
		return APS_Controller_Setting_isMultiValue($this->_cPtr);
	}

	function getMeta() {
		$r=APS_Controller_Setting_getMeta($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMeta($r);
		}
		return $r;
	}
}

class APS_Controller_SettingFactory {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($m) {
		if (is_resource($m) && get_resource_type($m) === '_p_APS__Controller__SettingFactory') {
			$this->_cPtr=$m;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingFactory($m);
	}

	function getAllMeta() {
		$r=APS_Controller_SettingFactory_getAllMeta($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingMetaMap($r);
		}
		return $r;
	}

	function hasSetting($settingName) {
		return APS_Controller_SettingFactory_hasSetting($this->_cPtr,$settingName);
	}

	function getSetting($settingName) {
		$r=APS_Controller_SettingFactory_getSetting($this->_cPtr,$settingName);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_Setting($r);
		}
		return $r;
	}
}

class APS_Controller_Counter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($counterMeta) {
		if (is_resource($counterMeta) && get_resource_type($counterMeta) === '_p_APS__Controller__Counter') {
			$this->_cPtr=$counterMeta;
			return;
		}
		$this->_cPtr=new_APS_Controller_Counter($counterMeta);
	}

	function getValue() {
		return APS_Controller_Counter_getValue($this->_cPtr);
	}

	function setValue($value) {
		APS_Controller_Counter_setValue($this->_cPtr,$value);
	}

	function getMeta() {
		$r=APS_Controller_Counter_getMeta($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Meta_Counter($r);
		}
		return $r;
	}
}

abstract class APS_Controller_ValidationResultAbstract {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function getResultCode() {
		return APS_Controller_ValidationResultAbstract_getResultCode($this->_cPtr);
	}

	function getMessage() {
		return APS_Controller_ValidationResultAbstract_getMessage($this->_cPtr);
	}

	function successful() {
		return APS_Controller_ValidationResultAbstract_successful($this->_cPtr);
	}
}

class APS_Controller_SettingValidationResult extends APS_Controller_ValidationResultAbstract {
	public $_cPtr=null;

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		APS_Controller_ValidationResultAbstract::__set($var,$value);
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return APS_Controller_ValidationResultAbstract::__get($var);
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return APS_Controller_ValidationResultAbstract::__isset($var);
	}

	function __construct($setting_id_or_result=null,$result_code=null,$m=null) {
		if (is_resource($setting_id_or_result) && get_resource_type($setting_id_or_result) === '_p_APS__Controller__Validation__SettingValidationResult') {
			$this->_cPtr=$setting_id_or_result;
			return;
		}
		switch (func_num_args()) {
		case 0: $this->_cPtr=new_APS_Controller_SettingValidationResult(); break;
		case 1: $this->_cPtr=new_APS_Controller_SettingValidationResult($setting_id_or_result); break;
		case 2: $this->_cPtr=new_APS_Controller_SettingValidationResult($setting_id_or_result,$result_code); break;
		default: $this->_cPtr=new_APS_Controller_SettingValidationResult($setting_id_or_result,$result_code,$m);
		}
	}

	function getResultCode() {
		return APS_Controller_SettingValidationResult_getResultCode($this->_cPtr);
	}

	function getMessage() {
		return APS_Controller_SettingValidationResult_getMessage($this->_cPtr);
	}

	function getSettingID() {
		return APS_Controller_SettingValidationResult_getSettingID($this->_cPtr);
	}

	function successful() {
		return APS_Controller_SettingValidationResult_successful($this->_cPtr);
	}
}

class APS_Controller_SettingMetaValidator {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	static function validate($arg1,$arg2) {
		return APS_Controller_SettingMetaValidator_validate($arg1,$arg2);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Controller__Validation__SettingMetaValidator') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingMetaValidator();
	}
}

class APS_Controller_StructuredOutputErrorList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__StructuredOutputError_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_StructuredOutputErrorList();
	}

	function isEmpty() {
		return APS_Controller_StructuredOutputErrorList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_StructuredOutputErrorList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_StructuredOutputErrorList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StructuredOutputError($r);
		}
		return $r;
	}
}

class APS_Controller_StructuredOutputChoiceList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__StructuredOutputChoice_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_StructuredOutputChoiceList();
	}

	function isEmpty() {
		return APS_Controller_StructuredOutputChoiceList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_StructuredOutputChoiceList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_StructuredOutputChoiceList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StructuredOutputChoice($r);
		}
		return $r;
	}
}

class APS_Controller_StructuredOutputSettingList {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedListT_APS__Controller__StructuredOutputSetting_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_StructuredOutputSettingList();
	}

	function isEmpty() {
		return APS_Controller_StructuredOutputSettingList_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_StructuredOutputSettingList_size($this->_cPtr);
	}

	function at($i) {
		$r=APS_Controller_StructuredOutputSettingList_at($this->_cPtr,$i);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StructuredOutputSetting($r);
		}
		return $r;
	}
}

class APS_Controller_ResourceUsageScriptCounterMap {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($res=null) {
		if (is_resource($res) && get_resource_type($res) === '_p_APS__Util__SharedMapT_std__string_APS__Controller__ResourceUsageScriptCounter_t') {
			$this->_cPtr=$res;
			return;
		}
		$this->_cPtr=new_APS_Controller_ResourceUsageScriptCounterMap();
	}

	function getValue($arg1) {
		$r=APS_Controller_ResourceUsageScriptCounterMap_getValue($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_ResourceUsageScriptCounter($r);
		}
		return $r;
	}

	function isEmpty() {
		return APS_Controller_ResourceUsageScriptCounterMap_isEmpty($this->_cPtr);
	}

	function size() {
		return APS_Controller_ResourceUsageScriptCounterMap_size($this->_cPtr);
	}

	function asUnorderedList() {
		return APS_Controller_ResourceUsageScriptCounterMap_asUnorderedList($this->_cPtr);
	}

	function hasKey($key) {
		return APS_Controller_ResourceUsageScriptCounterMap_hasKey($this->_cPtr,$key);
	}

	function getKeys() {
		$r=APS_Controller_ResourceUsageScriptCounterMap_getKeys($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringValues($r);
		}
		return $r;
	}
}

class APS_Controller_SettingsProcessor {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($arg1,$arg2=null) {
		if (is_resource($arg1) && get_resource_type($arg1) === '_p_APS__Controller__SettingsProcessor') {
			$this->_cPtr=$arg1;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingsProcessor($arg1,$arg2);
	}

	function getGlobalSettingsFactory() {
		$r=APS_Controller_SettingsProcessor_getGlobalSettingsFactory($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingFactory($r);
		}
		return $r;
	}

	function getSettingsFactoryForService($serviceId) {
		$r=APS_Controller_SettingsProcessor_getSettingsFactoryForService($this->_cPtr,$serviceId);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingFactory($r);
		}
		return $r;
	}

	function getSettings($arg1) {
		$r=APS_Controller_SettingsProcessor_getSettings($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyMap($r);
		}
		return $r;
	}

	function validateSettings($settings,$arg2) {
		return APS_Controller_SettingsProcessor_validateSettings($this->_cPtr,$settings,$arg2);
	}

	function validateGlobalSettingsForPackageConfiguration($arg1,$newSettings,$arg3) {
		return APS_Controller_SettingsProcessor_validateGlobalSettingsForPackageConfiguration($this->_cPtr,$arg1,$newSettings,$arg3);
	}

	function validateSettingsForPackageConfiguration($arg1,$newSettings,$arg3) {
		return APS_Controller_SettingsProcessor_validateSettingsForPackageConfiguration($this->_cPtr,$arg1,$newSettings,$arg3);
	}

	function validateSettingsForApplication($arg1,$newSettings,$arg3) {
		return APS_Controller_SettingsProcessor_validateSettingsForApplication($this->_cPtr,$arg1,$newSettings,$arg3);
	}

	function validateSettingsForApplicationResource($arg1,$newSettings,$arg3) {
		return APS_Controller_SettingsProcessor_validateSettingsForApplicationResource($this->_cPtr,$arg1,$newSettings,$arg3);
	}

	function validateApplicationResourceSettings($arg1,$newSettings,$arg3) {
		return APS_Controller_SettingsProcessor_validateApplicationResourceSettings($this->_cPtr,$arg1,$newSettings,$arg3);
	}

	function getInitialSettingsForApplicationResource($arg1) {
		$r=APS_Controller_SettingsProcessor_getInitialSettingsForApplicationResource($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyMap($r);
		}
		return $r;
	}

	function getApplicationResourceSettings($arg1) {
		$r=APS_Controller_SettingsProcessor_getApplicationResourceSettings($this->_cPtr,$arg1);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyMap($r);
		}
		return $r;
	}

	function getSettingsForUpdatedApplicationResource($updatedApplicationResource) {
		$r=APS_Controller_SettingsProcessor_getSettingsForUpdatedApplicationResource($this->_cPtr,$updatedApplicationResource);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyMap($r);
		}
		return $r;
	}

	static function mergeSettings($arg1,$arg2) {
		$r=APS_Controller_SettingsProcessor_mergeSettings($arg1,$arg2);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_SettingReadOnlyMap($r);
		}
		return $r;
	}
}

class APS_Controller_StructuredOutputError {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Controller_StructuredOutputError_id($this->_cPtr);
	}

	function settingId() {
		return APS_Controller_StructuredOutputError_settingId($this->_cPtr);
	}

	function systemErrorMessage() {
		return APS_Controller_StructuredOutputError_systemErrorMessage($this->_cPtr);
	}

	function message($locale) {
		return APS_Controller_StructuredOutputError_message($this->_cPtr,$locale);
	}
}

class APS_Controller_StructuredOutputChoice {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Controller_StructuredOutputChoice_id($this->_cPtr);
	}

	function name($locale) {
		return APS_Controller_StructuredOutputChoice_name($this->_cPtr,$locale);
	}
}

class APS_Controller_StructuredOutputSetting {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Controller_StructuredOutputSetting_id($this->_cPtr);
	}

	function values() {
		$r=APS_Controller_StructuredOutputSetting_values($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_StringSharedReadOnlyList($r);
		}
		return $r;
	}

	function choices() {
		$r=APS_Controller_StructuredOutputSetting_choices($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StructuredOutputChoiceList($r);
		}
		return $r;
	}
}

class APS_Controller_SettingsStructuredOutput {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($xml) {
		if (is_resource($xml) && get_resource_type($xml) === '_p_APS__Controller__SettingsStructuredOutput') {
			$this->_cPtr=$xml;
			return;
		}
		$this->_cPtr=new_APS_Controller_SettingsStructuredOutput($xml);
	}

	function errors() {
		$r=APS_Controller_SettingsStructuredOutput_errors($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StructuredOutputErrorList($r);
		}
		return $r;
	}

	function settings() {
		$r=APS_Controller_SettingsStructuredOutput_settings($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_StructuredOutputSettingList($r);
		}
		return $r;
	}
}

class APS_Controller_ResourceUsageScriptCounter {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}
	function __construct($h) {
		$this->_cPtr=$h;
	}

	function id() {
		return APS_Controller_ResourceUsageScriptCounter_id($this->_cPtr);
	}

	function value() {
		return APS_Controller_ResourceUsageScriptCounter_value($this->_cPtr);
	}

	function period() {
		return APS_Controller_ResourceUsageScriptCounter_period($this->_cPtr);
	}
}

class APS_Controller_ResourceUsageScriptOutput {
	public $_cPtr=null;
	protected $_pData=array();

	function __set($var,$value) {
		if ($var === 'thisown') return swig_aps_php_alter_newobject($this->_cPtr,$value);
		$this->_pData[$var] = $value;
	}

	function __get($var) {
		if ($var === 'thisown') return swig_aps_php_get_newobject($this->_cPtr);
		return $this->_pData[$var];
	}

	function __isset($var) {
		if ($var === 'thisown') return true;
		return array_key_exists($var, $this->_pData);
	}

	function __construct($xml) {
		if (is_resource($xml) && get_resource_type($xml) === '_p_APS__Controller__ResourceUsageScriptOutput') {
			$this->_cPtr=$xml;
			return;
		}
		$this->_cPtr=new_APS_Controller_ResourceUsageScriptOutput($xml);
	}

	function counters() {
		$r=APS_Controller_ResourceUsageScriptOutput_counters($this->_cPtr);
		if (is_resource($r)) {
			$c=substr(get_resource_type($r), (strpos(get_resource_type($r), '__') ? strpos(get_resource_type($r), '__') + 2 : 3));
			if (class_exists($c)) return new $c($r);
			return new APS_Controller_ResourceUsageScriptCounterMap($r);
		}
		return $r;
	}
}