Swat/SwatDetailsView.php
public function insertFieldAfter(
        SwatDetailsViewField $field,
        SwatDetailsViewField $reference_field
    ) {
        $this->insertField($field, $reference_field, true);
    }
public function insertFieldAfter(
        SwatDetailsViewField $field,
        SwatDetailsViewField $reference_field
    ) {
        $this->insertField($field, $reference_field, true);
    }
public function insertFieldAfter ( SwatDetailsViewField $ field , SwatDetailsViewField $ reference_field ) { $ this -> insertField ( $ field , $ reference_field , true ) ; }
Inserts a field after an existing field in this details-view

@param SwatDetailsViewField $field the field to insert.
@param SwatDetailsViewField $reference_field the field after which the
field will be inserted.

@throws SwatWidgetNotFoundException if the reference field does not
exist in this details-view.
@throws SwatDuplicateIdException if the field has the same id as a field
already in this details-view.
Inserts a field after an existing field in this details - view