protected function backup_detail_select($label, $name, $options, $selected = '', $nothing = false, array $attributes = array(), $description = null) {
        if (!empty ($description)) {
            $description = html_writer::tag('span', $description, array('class' => 'description'));
        } else {
            $description = '';
        }
        return $this->backup_detail_pair($label, html_writer::select($options, $name, $selected, false, $attributes).$description);
    }
protected function backup_detail_select($label, $name, $options, $selected = '', $nothing = false, array $attributes = array(), $description = null) {
        if (!empty ($description)) {
            $description = html_writer::tag('span', $description, array('class' => 'description'));
        } else {
            $description = '';
        }
        return $this->backup_detail_pair($label, html_writer::select($options, $name, $selected, false, $attributes).$description);
    }
protected function backup_detail_select ( $ label , $ name , $ options , $ selected = '' , $ nothing = false , array $ attributes = array ( ) , $ description = null ) { if ( ! empty ( $ description ) ) { $ description = html_writer :: tag ( 'span' , $ description , array ( 'class' => 'description' ) ) ; } else { $ description = '' ; } return $ this -> backup_detail_pair ( $ label , html_writer :: select ( $ options , $ name , $ selected , false , $ attributes ) . $ description ) ; }
Creates a detailed pairing with a select

@param string $label
@param string $name
@param array $options
@param string $selected
@param bool $nothing
@param array $attributes
@param string|null $description
@return string
Creates a detailed pairing with a select