Tag
class Tag (View source)
A Tag, to organize Assets
Properties
| protected string | $label | ||
| protected AssetCollection> | $assetCollections | ||
| protected Tag | $parent | ||
| protected Tag> | $children | 
Methods
                    __construct(string $label)
        
                                            
                
            No description
                    void
                
                
                    setLabel(string $label)
        
                                            
                
            Sets the label of this tag
                    string
                
                
                    getLabel()
        
                                            
                
            The label of this tag
                    Collection
                
                
                    getAssetCollections()
        
                                            
                
            Return the asset collections this tag is included in
                    void
                
                
                    setAssetCollections(Collection $assetCollections)
        
                                            
                
            Set the asset collections that include this tag
                    Tag|null
                
                
                    getParent()
        
                                            
                
            No description
                    Collection
                
                
                    getChildren()
        
                                            
                
            No description
Details
        
                            
    __construct(string $label)
        
    
    No description
        
                            void
    setLabel(string $label)
        
    
    Sets the label of this tag
        
                            string
    getLabel()
        
    
    The label of this tag
        
                            Collection
    getAssetCollections()
        
    
    Return the asset collections this tag is included in
        
                            void
    setAssetCollections(Collection $assetCollections)
        
    
    Set the asset collections that include this tag
        
                            Tag|null
    getParent()
        
    
    No description
        
                            void
    setParent(Tag $parent)
        
    
    No description
        
                            void
    addChild(Tag $child)
        
    
    No description
        
                            Collection
    getChildren()
        
    
    No description