This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Helper_Form_UserSelector

Direct known subclasses

FormUserSelectorHelper

Package: Helpers\Forms
Copyright: Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/helpers/form/user_selector.php

Methods summary

public
# selectUser( integer $fieldName, $uID = false, $javascriptFunc = 'ccm_triggerSelectUser' )

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.
public
# quickSelect( $key, $val = false, $args = array() )
public
# selectMultipleUsers( $fieldName )