Property | Type | Description | |
---|---|---|---|
$_defaults | array | Default policy values used in both 12.0 and 12.1 | |
$_defaults_twelve | array | Deafaults for 12.0 policies. | |
$_defaults_twelveone | array | Defaults used only in 12.1 | |
$_encoder | Horde_ActiveSync_Wbxml_Encoder | Output stream | |
$_overrides | array | Explicitly set policies. | |
$_policies | array | Local cache of all policies to send. | |
$_version | long | EAS version to support. |
Method | Description | |
---|---|---|
__construct ( Horde_ActiveSync_Wbxml_Encoder $encoder = null, float $version = Horde_ActiveSync::VERSION_TWELVEONE, array $policies = [] ) | Const'r | |
getAvailablePolicies ( ) : array | Return a list of all configurable policy names. | |
toWbxml ( ) | Output the policies as WBXML. Used in EAS Versions >= 12.0 | |
toXml ( ) | Output the policies as XML. Only used in EAS Version 2.5. This method only outputs the 2.5 compatible policies. | |
validatePolicyVersion ( ) : boolean | Determine if the requested policy settings are available for the current version being used. |
Method | Description | |
---|---|---|
_getPolicies ( ) | ||
_sendPolicy ( string $policy, mixed $value, boolean $nodefault = false ) | Output a single policy value |
public __construct ( Horde_ActiveSync_Wbxml_Encoder $encoder = null, float $version = Horde_ActiveSync::VERSION_TWELVEONE, array $policies = [] ) | ||
$encoder | Horde_ActiveSync_Wbxml_Encoder | The output stream encoder |
$version | float | The EAS Version. |
$policies | array | The policy array. |
public getAvailablePolicies ( ) : array | ||
return | array |
public toWbxml ( ) |
public toXml ( ) |
public validatePolicyVersion ( ) : boolean | ||
return | boolean | True if policies are available in current version, false otherwise. |
protected array $_defaults | ||
return | array |
protected array $_defaults_twelve | ||
return | array |
protected array $_defaults_twelveone | ||
return | array |
protected Horde_ActiveSync_Wbxml_Encoder $_encoder | ||
return | Horde_ActiveSync_Wbxml_Encoder |
protected array $_policies | ||
return | array |