CsvWriter deprecated
class CsvWriter (View source)
deprecated
Properties
| protected Writer | $writer | ||
| protected UserCategory | $category | ||
| private Date | $date | ||
| protected string[] | $status | 
Methods
                    insertHeaders()
        
                                            
                
            Insert a header row for this result set
                    array
                
                
                
            
                    getHeaders()
        
                                            
                
            A generator that returns all headers
                    array
                
                
                    getAttributeKeys()
        
                                            
                
            Memoize the attribute keys so that we aren't looking them up over and over
                    string[]
                
                
                    getTranslatedStatus()
        
                                            
                
            Get the translated status texts
Details
        
                            
    __construct(Writer $writer, UserCategory $category, Date $date)
        
    
    No description
        
                            
    insertHeaders()
        
    
    Insert a header row for this result set
        
                            
    insertUserList(UserList $list)
        
    
    Insert all data from the passed userlist
        
                        private    Generator
    projectList(UserList $list)
        
    
    A generator that takes a UserList and converts it to CSV rows
        
                        private    array
    projectUser(UserInfo $user)
        
    
    Turn a user into an array
        
                        private    Generator
    getHeaders()
        
    
    A generator that returns all headers
        
                        private    array
    getAttributeKeys()
        
    
    Memoize the attribute keys so that we aren't looking them up over and over
        
                        private    string[]
    getTranslatedStatus()
        
    
    Get the translated status texts