[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/forum/classes/ -> potential_subscriber_selector.php (summary)

A type of forum.

Copyright: 2014 Andrew Robert Nicols <andrew@nicols.co.uk>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 159 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mod_forum_potential_subscriber_selector:: (5 methods):
  __construct()
  get_options()
  find_users()
  set_existing_subscribers()
  set_force_subscribed()


Class: mod_forum_potential_subscriber_selector  - X-Ref

A user selector control for potential subscribers to the selected forum

__construct($name, $options)   X-Ref
Constructor method

param: string $name
param: array $options

get_options()   X-Ref
Returns an arary of options for this control

return: array

find_users($search)   X-Ref
Finds all potential users

Potential subscribers are all enroled users who are not already subscribed.

param: string $search
return: array

set_existing_subscribers(array $users)   X-Ref
Sets the existing subscribers

param: array $users

set_force_subscribed($setting=true)   X-Ref
Sets this forum as force subscribed or not




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1