protected function getViewParams()
    {
        foreach ($this->options as $key => $value) {
            $this->variables .= ($key == 'disable_mobile') ?
                "var disqus_{$key} = {$value};\n" :
                "var disqus_{$key} = '{$value}';\n";
        }
        return [
            'variables' => $this->variables,
            'credits' => $this->showCredits ? $this->credits : '',
            'noScript' => $this->renderNoScriptContainer()
        ];
    }
protected function getViewParams()
    {
        foreach ($this->options as $key => $value) {
            $this->variables .= ($key == 'disable_mobile') ?
                "var disqus_{$key} = {$value};\n" :
                "var disqus_{$key} = '{$value}';\n";
        }
        return [
            'variables' => $this->variables,
            'credits' => $this->showCredits ? $this->credits : '',
            'noScript' => $this->renderNoScriptContainer()
        ];
    }
protected function getViewParams ( ) { foreach ( $ this -> options as $ key => $ value ) { $ this -> variables .= ( $ key == 'disable_mobile' ) ? "var disqus_{$key} = {$value};\n" : "var disqus_{$key} = '{$value}';\n" ; } return [ 'variables' => $ this -> variables , 'credits' => $ this -> showCredits ? $ this -> credits : '' , 'noScript' => $ this -> renderNoScriptContainer ( ) ] ; }
Get view params
@return string
Get view params