[ Index ]

PHP Cross Reference of Xoops v2.4.5 code documentation

title

Body

[close]

/modules/profile/class/ -> visibility.php (summary)

Extended User Profile

Author: Jan Pedersen
Author: Taiwen Jiang
Copyright: The XOOPS Project http://sourceforge.net/projects/xoops/
License: http://www.fsf.org/copyleft/gpl.html GNU public license
Version: $Id: visibility.php 4361 2010-02-09 23:36:33Z trabis $
File Size: 109 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

ProfileVisibility:: (2 methods):
  __construct()
  ProfileVisibility()

ProfileVisibilityHandler:: (4 methods):
  ProfileVisibilityHandler()
  __construct()
  getAll()
  getVisibleFields()


Class: ProfileVisibility  - X-Ref

__construct()   X-Ref
No description

ProfileVisibility()   X-Ref
No description

Class: ProfileVisibilityHandler  - X-Ref

ProfileVisibilityHandler(&$db)   X-Ref
No description

__construct(&$db)   X-Ref
No description

getAll($criteria = null)   X-Ref
get all objects matching a condition

param: object      $criteria {@link CriteriaElement} to match
param: array       $fields     variables to fetch
param: bool        $asObject     flag indicating as object, otherwise as array
param: bool        $id_as_key use the ID as key for the array
return: array of objects/array {@link XoopsObject}

getVisibleFields($profile_groups, $user_groups = null)   X-Ref
Get fields visible to the $user_groups on a $profile_groups profile

param: array $profile_groups groups of the user to be accessed
param: array $user_groups    groups of the visitor, default as $GLOBALS['xoopsUser']
return: array



Generated: Sun Aug 1 01:39:09 2010
Open Source related documentation for developers.