protected function backup_detail_input($label, $type, $name, $value, 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::empty_tag('input', $attributes + array('name' => $name, 'type' => $type, 'value' => $value)) . $description
        );
    }
protected function backup_detail_input($label, $type, $name, $value, 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::empty_tag('input', $attributes + array('name' => $name, 'type' => $type, 'value' => $value)) . $description
        );
    }
protected function backup_detail_input ( $ label , $ type , $ name , $ value , 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 :: empty_tag ( 'input' , $ attributes + array ( 'name' => $ name , 'type' => $ type , 'value' => $ value ) ) . $ description ) ; }
Created a detailed pairing with an input

@param string $label
@param string $type
@param string $name
@param string $value
@param array $attributes
@param string|null $description
@return string
Created a detailed pairing with an input