| extends | XoopsPersistableObjectHandler | 
|---|
Class ProfileVisibilityHandler
| Methods | ||||||
|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | __construct(null|XoopsDatabase $db)
		Constructor
	 Constructor Parameters
 Overrides | # | ||||
| 
					
	public
					
					
				 | getVisibleFields(array $profile_groups, array $user_groups = null): array
		Get fields visible to the $user_groups on a $profile_groups profile
	 Get fields visible to the $user_groups on a $profile_groups profile Parameters
 | # | ||||
| 
					
	public
					
					
				 | getAllByFieldId(CriteriaElement $criteria = null): array
		get all rows matching a condition
	 get all rows matching a condition Parameters
 Returnsof row arrays, indexed by field_id | # | ||||
| 
					
	protected
					
					
				 | visibilitySort(array $a, array $b): int
		compare two arrays, each a row from profile_visibility
The comparison is on three columns, 'field_id', 'user_group', …
	 compare two arrays, each a row from profile_visibility The comparison is on three columns, 'field_id', 'user_group', 'profile_group' considered in that order for comparison Parameters
 Returnsinteger less that zero if $a is less than $b integer zero if $a and $b are equal integer greater than zero if $a is greater than $b | # | ||||
| Methods inherited from XoopsObjectHandler | 
|---|
| XoopsObjectHandler(),  | 
| Properties inherited from XoopsPersistableObjectHandler | 
|---|
| $table_link, $handler, $handlers, $table, $keyName, $className, $identifierName, $field_link, $field_object | 
| Properties inherited from XoopsObjectHandler | 
|---|
| $db |