ReorderElements
class ReorderElements (View source)
Properties
| protected | BaseElement | $element | 
Methods
                    public                                                                            
                
                    reorder(int $elementToBeAfterID = 0)
        
                                            
                
            Set the ordering of Elements in relation to sibling Elements in the parent {ElementalArea}
Details
        
                            
    __construct(BaseElement $element)
        
    
    Create reordering service for specified Element
        
                            BaseElement
    getElement()
        
    
    Get the Element reordering will be performed on
        
                            $this
    setElement(BaseElement $element)
        
    
    Set the Element instance to perform reordering on
        
                            
    reorder(int $elementToBeAfterID = 0)
        
    
    Set the ordering of Elements in relation to sibling Elements in the parent {ElementalArea}