src/Sedona/SBORuntimeBundle/Datatable/Data/DatatableQuery.php
private function renderImage($imageName, ImageColumn $column)
    {
        return $this->twig->render(
            'SgDatatablesBundle:Helper:ii_render_image.html.twig',
            array(
                'image_id' => 'sg_image_'.uniqid(rand(10000, 99999)),
                'image_name' => $imageName,
                'filter' => $column->getImagineFilter(),
                'path' => $column->getRelativePath(),
                'holder_url' => $column->getHolderUrl(),
                'width' => $column->getHolderWidth(),
                'height' => $column->getHolderHeight(),
                'enlarge' => $column->getEnlarge(),
            )
        );
    }
private function renderImage($imageName, ImageColumn $column)
    {
        return $this->twig->render(
            'SgDatatablesBundle:Helper:ii_render_image.html.twig',
            array(
                'image_id' => 'sg_image_'.uniqid(rand(10000, 99999)),
                'image_name' => $imageName,
                'filter' => $column->getImagineFilter(),
                'path' => $column->getRelativePath(),
                'holder_url' => $column->getHolderUrl(),
                'width' => $column->getHolderWidth(),
                'height' => $column->getHolderHeight(),
                'enlarge' => $column->getEnlarge(),
            )
        );
    }
private function renderImage ( $ imageName , ImageColumn $ column ) { return $ this -> twig -> render ( 'SgDatatablesBundle:Helper:ii_render_image.html.twig' , array ( 'image_id' => 'sg_image_' . uniqid ( rand ( 10000 , 99999 ) ) , 'image_name' => $ imageName , 'filter' => $ column -> getImagineFilter ( ) , 'path' => $ column -> getRelativePath ( ) , 'holder_url' => $ column -> getHolderUrl ( ) , 'width' => $ column -> getHolderWidth ( ) , 'height' => $ column -> getHolderHeight ( ) , 'enlarge' => $ column -> getEnlarge ( ) , ) ) ; }
Render image.

@param string      $imageName
@param ImageColumn $column

@return string
Render image .