Свойство | Тип | Описание | |
---|---|---|---|
$_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. |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
_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 | ||
Результат | array |
public toWbxml ( ) |
public toXml ( ) |
public validatePolicyVersion ( ) : boolean | ||
Результат | boolean | True if policies are available in current version, false otherwise. |
protected array $_defaults | ||
Результат | array |
protected array $_defaults_twelve | ||
Результат | array |
protected array $_defaults_twelveone | ||
Результат | array |
protected Horde_ActiveSync_Wbxml_Encoder $_encoder | ||
Результат | Horde_ActiveSync_Wbxml_Encoder |
protected array $_overrides | ||
Результат | array |
protected array $_policies | ||
Результат | array |