Property | Type | Description | |
---|---|---|---|
$relations | array | Available relations. |
Method | Description | |
---|---|---|
display ( array $rules, Papi_Core_Property $property = null ) : boolean | Check if the property should be displayed by the rules. | |
prepare_rules ( array $rules, Papi_Core_Property $property = null ) : array | Prepare rules. |
Method | Description | |
---|---|---|
display_by_relation ( array $rules ) : boolean | Get the display by relation. | |
get_rule_slug ( Papi_Core_Conditional_Rule $rule, Papi_Core_Property $property ) : string | Get rule slug. |
protected display_by_relation ( array $rules ) : boolean | ||
$rules | array | |
return | boolean |
protected get_rule_slug ( Papi_Core_Conditional_Rule $rule, Papi_Core_Property $property ) : string | ||
$rule | Papi_Core_Conditional_Rule | |
$property | Papi_Core_Property | |
return | string |
public prepare_rules ( array $rules, Papi_Core_Property $property = null ) : array | ||
$rules | array | |
$property | Papi_Core_Property | |
return | array |