Class ProfileVisibilityHandler
Class ProfileVisibilityHandler
- XoopsObjectHandler
- XoopsPersistableObjectHandler
- ProfileVisibilityHandler
Package: profile
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Jan Pedersen
Author: Taiwen Jiang phppp@users.sourceforge.net
Located at odules/profile/class/visibility.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Jan Pedersen
Author: Taiwen Jiang phppp@users.sourceforge.net
Located at odules/profile/class/visibility.php
public
|
|
public
array
|
#
getVisibleFields( array $profile_groups, array $user_groups = null )
Get fields visible to the $user_groups on a $profile_groups profile |
public
array
|
|
protected
integer
|
#
visibilitySort( array $a, array $b )
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 |
XoopsObjectHandler()
|
$className,
$field_link,
$field_object,
$handler,
$handlers,
$identifierName,
$keyName,
$table
|
$db
|