UserSelector
class UserSelector (View source)
Properties
| protected Application | $app | The application container instance.  | 
                
Methods
                    string
                
                
                    selectUser(string $fieldName, int|false $uID = false)
        
                                            
                
            Build the HTML to be placed in a page to choose a user using a popup dialog.
                    string
                
                
                    quickSelect(string $fieldName, int|false $uID = false, array $miscFields = [])
        
                                            
                
            Build the HTML to be placed in a page to choose a user using a select with users pupulated dynamically with ajax requests.
                    string
                
                
                    selectMultipleUsers(string $fieldName, User[]|UserInfo[]|int[]|Traversable $users = [])
        
                                            
                
            Build the HTML to be placed in a page to choose multiple users using a popup dialog.
Details
        
                            
    __construct(Application $app)
        
    
    Initialize the instance.
        
                            string
    selectUser(string $fieldName, int|false $uID = false)
        
    
    Build the HTML to be placed in a page to choose a user using a popup dialog.
        
                            string
    quickSelect(string $fieldName, int|false $uID = false, array $miscFields = [])
        
    
    Build the HTML to be placed in a page to choose a user using a select with users pupulated dynamically with ajax requests.
        
                            string
    selectMultipleUsers(string $fieldName, User[]|UserInfo[]|int[]|Traversable $users = [])
        
    
    Build the HTML to be placed in a page to choose multiple users using a popup dialog.