class UserSelector (View source)

Methods

selectUser($fieldName, int $uID = false)

Creates form fields and JavaScript user chooser for choosing a user. For use with inclusion in blocks and addons.

quickSelect($key, $val = false, $args = array())

No description

selectMultipleUsers($fieldName, $users = array())

No description

Details

selectUser($fieldName, int $uID = false)

Creates form fields and JavaScript user chooser for choosing a user. For use with inclusion in blocks and addons.


    $dh->selectUser('userID', '1'); // prints out the admin user and makes it changeable.
```.

Parameters

$fieldName
int $uID

quickSelect($key, $val = false, $args = array())

No description

Parameters

$key
$val
$args

selectMultipleUsers($fieldName, $users = array())

No description

Parameters

$fieldName
$users