PlannedInstance
class PlannedInstance (View source)
Simple object to tie a board instance to a set of a InstanceItem objects. These get decreased over time as the board slots are filled out.
Properties
| protected Instance | $instance | ||
| protected ItemObjectGroup[] | $contentObjectGroups | ||
| protected PlannedSlot[] | $plannedSlots | 
Methods
                    getInstance()
        
                                            
                
            No description
                    array
                
                
                    getContentObjectGroups()
        
                                            
                
            No description
                    sliceContentObjectGroups(int $number)
        
                                            
                
            Retrieves object groups without removing them from the source array.
                    void
                
                
                    removeObjectGroups(int $number)
        
                                            
                
            Once object groups are used, remove them from the source array so they're not used again.
                    getPlannedSlot(int $slot)
        
                                            
                
            No description
                    array
                
                
                    getPlannedSlots()
        
                                            
                
            No description
Details
        
                            
    __construct(Instance $instance, array $contentObjectGroups)
        
    
    PlannedInstance constructor.
        
                            Instance
    getInstance()
        
    
    No description
        
                            array
    getContentObjectGroups()
        
    
    No description
        
                            ItemObjectGroup[]
    sliceContentObjectGroups(int $number)
        
    
    Retrieves object groups without removing them from the source array.
        
                            void
    removeObjectGroups(int $number)
        
    
    Once object groups are used, remove them from the source array so they're not used again.
        
                            
    getPlannedSlot(int $slot)
        
    
    No description
        
                            array
    getPlannedSlots()
        
    
    No description
        
                            
    addPlannedSlot(PlannedSlot $plannedSlot)
        
    
    No description