PolicyRules Class Reference

Inheritance diagram for PolicyRules:
IntegerPolicyRules PasswordExpiryPolicyRules YesNoPolicyRules PasswordExpiresPolicyRules

Public Member Functions

 __construct ($moduleName, $policy, $explicit, $inherited)
 showInView ()
 getElementAttributeType ()
 getEffectiveElementAttributeType ()
 isElementTypeDerived ()
 getFormRules ()

Protected Attributes

 $moduleName
 $policy
 $explicit
 $inherited

Detailed Description

Policy Rules define parameters for managing the administrative user interface for policies

Definition at line 41 of file PolicyRules.php.


Constructor & Destructor Documentation

__construct ( moduleName,
policy,
explicit,
inherited 
)

Construct a policy rule

Parameters:
$moduleName - module class name
$policy - the policy name
$explicit - explicit policy value if it exists
$inherited - inherited policy value if it exists

Reimplemented in PasswordExpiryPolicyRules.

Definition at line 58 of file PolicyRules.php.


Member Function Documentation

showInView (  ) 
Returns:
boolean - true if this policy should show in the administrative user interface of rights.

Reimplemented in PasswordExpiresPolicyRules.

Definition at line 74 of file PolicyRules.php.

getElementAttributeType (  )  [abstract]

Returns the string element name for the administrative user interface of rights.

Returns:
string

Reimplemented in PasswordExpiresPolicyRules, PasswordExpiryPolicyRules, IntegerPolicyRules, and YesNoPolicyRules.

getEffectiveElementAttributeType (  )  [abstract]

Returns the string element name for the effective user interface of rights. This is a readonly element.

Returns:
string

Reimplemented in PasswordExpiresPolicyRules, PasswordExpiryPolicyRules, IntegerPolicyRules, and YesNoPolicyRules.

isElementTypeDerived (  ) 
Returns:
boolean - if the element type is derived or not.

Reimplemented in PasswordExpiryPolicyRules.

Definition at line 96 of file PolicyRules.php.

getFormRules (  )  [abstract]
Returns:
array of validation rules to be used by the rights form for the administrative interface of rights.
array;

Reimplemented in PasswordExpiresPolicyRules, PasswordExpiryPolicyRules, IntegerPolicyRules, and YesNoPolicyRules.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Mar 29 07:10:29 2017