public function getStatusBadges()
    {
        // Initialise:
        
        $badges = [];
        
        // Iterate Status Flags:
        
        foreach ($this->owner->getStatusFlags() as $class => $flag) {
            
            $badges[] = sprintf(
                '<span class="badge status-%s" title="%s">%s</span>',
                Convert::raw2xml($class),
                Convert::raw2xml($flag['title']),
                Convert::raw2xml($flag['text'])
            );
            
        }
        
        // Answer HTML Fragment:
        
        return DBField::create_field('HTMLFragment', implode(' ', $badges));
    }