private function applyFilterToTd($value, array $fields)
    {
        return [
            'template' => $fields['template'],
            'style' => $fields['style'],
            'class' => $fields['class'],
            'format' => $fields['format'],
            'value' => $this->getValueFrom($fields['format'], $fields['relation'], $value)
        ];
    }
private function applyFilterToTd($value, array $fields)
    {
        return [
            'template' => $fields['template'],
            'style' => $fields['style'],
            'class' => $fields['class'],
            'format' => $fields['format'],
            'value' => $this->getValueFrom($fields['format'], $fields['relation'], $value)
        ];
    }
private function applyFilterToTd ( $ value , array $ fields ) { return [ 'template' => $ fields [ 'template' ] , 'style' => $ fields [ 'style' ] , 'class' => $ fields [ 'class' ] , 'format' => $ fields [ 'format' ] , 'value' => $ this -> getValueFrom ( $ fields [ 'format' ] , $ fields [ 'relation' ] , $ value ) ] ; }
Converte dados TD para uso no template table data
@param $value
@param array $fields
@return array
Converte dados TD para uso no template table data