src/aws/ImageSelectCollectionActiveWindow.php
public function prepareInsertFields(array $fields)
    {
        if ($this->isSortEnabled()) {
            $fields[$this->sortIndexFieldName] = $this->getMaxSortIndex() + 1;
        }
        
        return $fields;
    }
public function prepareInsertFields(array $fields)
    {
        if ($this->isSortEnabled()) {
            $fields[$this->sortIndexFieldName] = $this->getMaxSortIndex() + 1;
        }
        
        return $fields;
    }
public function prepareInsertFields ( array $ fields ) { if ( $ this -> isSortEnabled ( ) ) { $ fields [ $ this -> sortIndexFieldName ] = $ this -> getMaxSortIndex ( ) + 1 ; } return $ fields ; }
Prepare and parse the insert fields for a given array.

if sort is enabled, the latest sort index is provided.

@param array $fields
@return number
Prepare and parse the insert fields for a given array .