original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: 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
docstring_tokens: Creates a detailed pairing with a select