public function getShowRowsHtml(array $fields = null)
    {
        $rows = '';
        $stub = $this->getStubContent('show.row.blade', $this->template);

        foreach ($this->getFieldsToDisplay($fields) as $field) {
            if ($field->isOnShowView) {
                $rows .= $this->getShowRowHtmlField($stub, $field) . PHP_EOL;
            }
        }

        return $rows;
    }
public function getShowRowsHtml(array $fields = null)
    {
        $rows = '';
        $stub = $this->getStubContent('show.row.blade', $this->template);

        foreach ($this->getFieldsToDisplay($fields) as $field) {
            if ($field->isOnShowView) {
                $rows .= $this->getShowRowHtmlField($stub, $field) . PHP_EOL;
            }
        }

        return $rows;
    }
public function getShowRowsHtml ( array $ fields = null ) { $ rows = '' ; $ stub = $ this -> getStubContent ( 'show.row.blade' , $ this -> template ) ; foreach ( $ this -> getFieldsToDisplay ( $ fields ) as $ field ) { if ( $ field -> isOnShowView ) { $ rows .= $ this -> getShowRowHtmlField ( $ stub , $ field ) . PHP_EOL ; } } return $ rows ; }
Gets html code for the show view using the current fields colelction.
If an value is passed, it will only generate the raws based on the given fields

@param array $fields

@return string
Gets html code for the show view using the current fields colelction . If an value is passed it will only generate the raws based on the given fields