original_string: public function datatableFilterRender(Twig_Environment $twig, AbstractDatatableView $datatable, AbstractColumn $column, $loopIndex)
      {
          if ($filterProperty = $column->getFilter()->getProperty()) {
              $filterColumnId = $datatable->getColumnIdByColumnName($filterProperty);
          } else {
              $filterColumnId = $loopIndex;
          }
  
          return $twig->render($column->getFilter()->getTemplate(), array(
              'column' => $column,
              'filterColumnId' => $filterColumnId,
              'selectorId' => $loopIndex,
              'tableId' => $datatable->getName()
              )
          );
      }
code: public function datatableFilterRender(Twig_Environment $twig, AbstractDatatableView $datatable, AbstractColumn $column, $loopIndex)
      {
          if ($filterProperty = $column->getFilter()->getProperty()) {
              $filterColumnId = $datatable->getColumnIdByColumnName($filterProperty);
          } else {
              $filterColumnId = $loopIndex;
          }
  
          return $twig->render($column->getFilter()->getTemplate(), array(
              'column' => $column,
              'filterColumnId' => $filterColumnId,
              'selectorId' => $loopIndex,
              'tableId' => $datatable->getName()
              )
          );
      }
code_tokens: public function datatableFilterRender ( Twig_Environment $ twig , AbstractDatatableView $ datatable , AbstractColumn $ column , $ loopIndex ) { if ( $ filterProperty = $ column -> getFilter ( ) -> getProperty ( ) ) { $ filterColumnId = $ datatable -> getColumnIdByColumnName ( $ filterProperty ) ; } else { $ filterColumnId = $ loopIndex ; } return $ twig -> render ( $ column -> getFilter ( ) -> getTemplate ( ) , array ( 'column' => $ column , 'filterColumnId' => $ filterColumnId , 'selectorId' => $ loopIndex , 'tableId' => $ datatable -> getName ( ) ) ) ; }
docstring: Renders the custom datatable filter.
  
  @param Twig_Environment      $twig
  @param AbstractDatatableView $datatable
  @param AbstractColumn        $column
  @param integer               $loopIndex
  
  @return mixed|string|void
docstring_tokens: Renders the custom datatable filter .