protected function getDataCss($variable)
    {
        $css = [
            'padding'               => '7px',
            'background-color'      => $this->zebra ? '#D8D9DB' : '#FFF',
            'color'                 => '#405261',
        ];

        $type = gettype($variable);
        if ($type == 'NULL') {
            $css['color'] = '#999';
        }

        return $this->arrayToCss($css);
    }
protected function getDataCss($variable)
    {
        $css = [
            'padding'               => '7px',
            'background-color'      => $this->zebra ? '#D8D9DB' : '#FFF',
            'color'                 => '#405261',
        ];

        $type = gettype($variable);
        if ($type == 'NULL') {
            $css['color'] = '#999';
        }

        return $this->arrayToCss($css);
    }
protected function getDataCss ( $ variable ) { $ css = [ 'padding' => '7px' , 'background-color' => $ this -> zebra ? '#D8D9DB' : '#FFF' , 'color' => '#405261' , ] ; $ type = gettype ( $ variable ) ; if ( $ type == 'NULL' ) { $ css [ 'color' ] = '#999' ; } return $ this -> arrayToCss ( $ css ) ; }
Get the CSS string for the output data
@param  mixed $variable
@return string
Get the CSS string for the output data