protected function getDataTablesURL(DataTablesProviderInterface $dtProvider) {

        $this->getLogger()->debug(sprintf("DataTables controller search for an URL with name \"%s\"", $dtProvider->getName()));

        if (false === ($dtProvider instanceof DataTablesRouterInterface)) {
            return $this->getRouter()->generate("jquery_datatables_index", ["name" => $dtProvider->getName()]);
        }

        $this->getLogger()->debug(sprintf("DataTables controller found for an URL with name \"%s\"", $dtProvider->getName()));

        return $dtProvider->getUrl();
    }
protected function getDataTablesURL(DataTablesProviderInterface $dtProvider) {

        $this->getLogger()->debug(sprintf("DataTables controller search for an URL with name \"%s\"", $dtProvider->getName()));

        if (false === ($dtProvider instanceof DataTablesRouterInterface)) {
            return $this->getRouter()->generate("jquery_datatables_index", ["name" => $dtProvider->getName()]);
        }

        $this->getLogger()->debug(sprintf("DataTables controller found for an URL with name \"%s\"", $dtProvider->getName()));

        return $dtProvider->getUrl();
    }
protected function getDataTablesURL ( DataTablesProviderInterface $ dtProvider ) { $ this -> getLogger ( ) -> debug ( sprintf ( "DataTables controller search for an URL with name \"%s\"" , $ dtProvider -> getName ( ) ) ) ; if ( false === ( $ dtProvider instanceof DataTablesRouterInterface ) ) { return $ this -> getRouter ( ) -> generate ( "jquery_datatables_index" , [ "name" => $ dtProvider -> getName ( ) ] ) ; } $ this -> getLogger ( ) -> debug ( sprintf ( "DataTables controller found for an URL with name \"%s\"" , $ dtProvider -> getName ( ) ) ) ; return $ dtProvider -> getUrl ( ) ; }
Get an URL.

@param DataTablesProviderInterface $dtProvider The provider.
@return string Returns the URL.
Get an URL .