public static function finagleVarcharFieldTypeForIndexListing($field, $data) {
   	if (empty($field['persist_wash'])) {
            return $data;
        }
    
        if (strtolower($field['persist_wash']) == "url") {
            $prefacedURL = self::prefaceURLwithHTTP($data);
            return '<a href="'.$prefacedURL.'" target="_blank">'.$data.'</a>';
        }

        return $data;
    }
public static function finagleVarcharFieldTypeForIndexListing($field, $data) {
   	if (empty($field['persist_wash'])) {
            return $data;
        }
    
        if (strtolower($field['persist_wash']) == "url") {
            $prefacedURL = self::prefaceURLwithHTTP($data);
            return '<a href="'.$prefacedURL.'" target="_blank">'.$data.'</a>';
        }

        return $data;
    }
public static function finagleVarcharFieldTypeForIndexListing ( $ field , $ data ) { if ( empty ( $ field [ 'persist_wash' ] ) ) { return $ data ; } if ( strtolower ( $ field [ 'persist_wash' ] ) == "url" ) { $ prefacedURL = self :: prefaceURLwithHTTP ( $ data ) ; return '<a href="' . $ prefacedURL . '" target="_blank">' . $ data . '</a>' ; } return $ data ; }
Need a helper method to finagle the varchar field in the index listing.

@param   array   $field
@param   string  $data
@return  string
Need a helper method to finagle the varchar field in the index listing .