Struct containing accessible properties on Location entities.
Constants¶
                
SORT_FIELD_CLASS_IDENTIFIER        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_CLASS_NAME        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_CONTENTOBJECT_ID        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_DEPTH        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_MODIFIED        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_MODIFIED_SUBNODE        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_NAME        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_NODE_ID        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_PATH        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_PRIORITY        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_PUBLISHED        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_FIELD_SECTION        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_ORDER_ASC        ¶
    
        | 
                     | 
                
                    
                     | 
            
                
SORT_ORDER_DESC        ¶
    
        | 
                     | 
                
                    
                     | 
            
Properties¶
                
        $contentId
            ¶
    
        Content ID.
| 
                     | 
                
                    
                     | 
            
ID of the corresponding Content.
                
        $depth
            ¶
    
        Depth location has in the location tree.
| 
                     | 
                
                    
                     | 
            
                
        $hidden
            ¶
    
        Indicates that the Location entity has been explicitly marked as hidden.
| 
                     | 
                
                    
                     | 
            
                
        $id
            ¶
    
        Location ID.
| 
                     | 
                
                    
                     | 
            
Location ID.
                
        $invisible
            ¶
    
        Indicates that the Location is implicitly marked as hidden by a parent location.
| 
                     | 
                
                    
                     | 
            
                
        $parentId
            ¶
    
        Parent ID.
| 
                     | 
                
                    
                     | 
            
Location ID.
                
        $pathString
            ¶
    
        The materialized path of the location entry, eg: /1/2/.
| 
                     | 
                
                    
                     | 
            
                
        $priority
            ¶
    
        Location priority.
| 
                     | 
                
                    
                     | 
            
Position of the Location among its siblings when sorted using priority sort order.
                
        $remoteId
            ¶
    
        Remote ID.
| 
                     | 
                
                    
                     | 
            
A universally unique identifier.
                
        $sortField
            ¶
    
        Specifies which property the child locations should be sorted on.
| 
                     | 
                
                    
                     | 
            
                
        $sortOrder
            ¶
    
        Specifies whether the sort order should be ascending or descending.
| 
                     | 
                
                    
                     | 
            
Methods¶
                
__construct()
            ¶
    
        Construct object optionally with a set of properties.
| 
                     | 
                
                    
                     | 
            
Readonly properties values must be set using $properties as they aren't writable anymore
after object has been created.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $properties | array<string, mixed> | [] | - | 
                
getProperties()
            ¶
    
        Returns list of available properties' names.
| 
                     | 
                
                    
                     | 
            
Override to add dynamic properties.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $dynamicProperties | array<int, string> | [] | 
                                                         Additional dynamic properties exposed on the object  | 
                
Return values
array<int, string>
Attributes
- #[Ignore]