public function getSortPath($route, $column, $order, $extraParams = array())
    {
        $params = array(
            $this->getActionParameterName() => $this->getSortActionParameterName(),
            $this->getDatagridParameterName() => $this->getName(),
            $this->getSortColumnParameterName() => $column,
            $this->getSortOrderParameterName() => $order,
        );
        return $this->container->get('router')->generate($route, array_merge($params, $extraParams));
    }
public function getSortPath($route, $column, $order, $extraParams = array())
    {
        $params = array(
            $this->getActionParameterName() => $this->getSortActionParameterName(),
            $this->getDatagridParameterName() => $this->getName(),
            $this->getSortColumnParameterName() => $column,
            $this->getSortOrderParameterName() => $order,
        );
        return $this->container->get('router')->generate($route, array_merge($params, $extraParams));
    }
public function getSortPath ( $ route , $ column , $ order , $ extraParams = array ( ) ) { $ params = array ( $ this -> getActionParameterName ( ) => $ this -> getSortActionParameterName ( ) , $ this -> getDatagridParameterName ( ) => $ this -> getName ( ) , $ this -> getSortColumnParameterName ( ) => $ column , $ this -> getSortOrderParameterName ( ) => $ order , ) ; return $ this -> container -> get ( 'router' ) -> generate ( $ route , array_merge ( $ params , $ extraParams ) ) ; }
Generate sorting route for a given column to be displayed in view
@todo Remove the order parameter and ask to the datagrid to guess it ?
@param type $route
@param type $column
@param type $order
@param type $extraParams
@return type
Generate sorting route for a given column to be displayed in view