public function getStatusFlags()
    {
        // Initialise:
        
        $flags = [];
        
        // Is Extended Object Versioned?
        
        if ($this->owner->hasExtension(Versioned::class)) {
            
            if ($this->owner->isOnLiveOnly()) {
                
                // Extended Object Removed from Draft:
                
                $flags['removedfromdraft'] = array(
                    'text'  => _t(__CLASS__ . '.ONLIVEONLYSHORT', 'On live only'),
                    'title' => _t(__CLASS__ . '.ONLIVEONLYSHORTHELP', 'Record is live, but removed from draft'),
                );
                
            } elseif ($this->owner->isArchived()) {
                
                // Extended Object Archived:
                
                $flags['archived'] = [
                    'text'  => _t(__CLASS__ . '.ARCHIVEDSHORT', 'Archived'),
                    'title' => _t(__CLASS__ . '.ARCHIVEDHELP', 'Record is removed from draft and live')
                ];
                
            } elseif ($this->owner->isOnDraftOnly()) {
                
                // Extended Object Added to Draft:
                
                $flags['addedtodraft'] = [
                    'text'  => _t(__CLASS__ . '.ADDEDTODRAFTSHORT', 'Draft'),
                    'title' => _t(__CLASS__ . '.ADDEDTODRAFTHELP', 'Record has not been published yet')
                ];
                
            } elseif ($this->owner->isModifiedOnDraft()) {
                
                // Extended Object Modified on Draft:
                
                $flags['modified'] = [
                    'text'  => _t(__CLASS__ . '.MODIFIEDONDRAFTSHORT', 'Modified'),
                    'title' => _t(__CLASS__ . '.MODIFIEDONDRAFTHELP', 'Record has unpublished changes')
                ];
                
            }
            
        }
        
        // Apply Extensions:
        
        $this->owner->extend('updateStatusFlags', $flags);
        
        // Answer Flags:
        
        return $flags;
    }