protected function jQueryDataTablesStandalone($selector, $language, array $options) {

        if (null !== $language) {
            $options["language"] = ["url" => DataTablesWrapperHelper::getLanguageURL($language)];
        }

        $searches = ["%selector%", "%options%"];
        $replaces = [$selector, $this->encodeOptions($options)];

        $javascript = StringHelper::replace(self::JQUERY_DATATABLES_STANDALONE, $searches, $replaces);
        return $this->getRendererTwigExtension()->coreScriptFilter($javascript);
    }
protected function jQueryDataTablesStandalone($selector, $language, array $options) {

        if (null !== $language) {
            $options["language"] = ["url" => DataTablesWrapperHelper::getLanguageURL($language)];
        }

        $searches = ["%selector%", "%options%"];
        $replaces = [$selector, $this->encodeOptions($options)];

        $javascript = StringHelper::replace(self::JQUERY_DATATABLES_STANDALONE, $searches, $replaces);
        return $this->getRendererTwigExtension()->coreScriptFilter($javascript);
    }
protected function jQueryDataTablesStandalone ( $ selector , $ language , array $ options ) { if ( null !== $ language ) { $ options [ "language" ] = [ "url" => DataTablesWrapperHelper :: getLanguageURL ( $ language ) ] ; } $ searches = [ "%selector%" , "%options%" ] ; $ replaces = [ $ selector , $ this -> encodeOptions ( $ options ) ] ; $ javascript = StringHelper :: replace ( self :: JQUERY_DATATABLES_STANDALONE , $ searches , $ replaces ) ; return $ this -> getRendererTwigExtension ( ) -> coreScriptFilter ( $ javascript ) ; }
Displays a jQuery DataTables "standalone".

@param string $selector The selector.
@param string $language The language.
@param array $options The options.
@return string Returns the jQuery DataTables "Standalone".
@throws FileNotFoundException Throws a file not found exception if the language file does not exist.
Displays a jQuery DataTables standalone .