Swat/SwatDisclosure.php
protected function getInlineJavaScript()
    {
        $open = $this->open ? 'true' : 'false';
        return sprintf(
            "var %s_obj = new %s('%s', %s);",
            $this->id,
            $this->getJavaScriptClass(),
            $this->id,
            $open
        );
    }
protected function getInlineJavaScript()
    {
        $open = $this->open ? 'true' : 'false';
        return sprintf(
            "var %s_obj = new %s('%s', %s);",
            $this->id,
            $this->getJavaScriptClass(),
            $this->id,
            $open
        );
    }
protected function getInlineJavaScript ( ) { $ open = $ this -> open ? 'true' : 'false' ; return sprintf ( "var %s_obj = new %s('%s', %s);" , $ this -> id , $ this -> getJavaScriptClass ( ) , $ this -> id , $ open ) ; }
Gets disclosure specific inline JavaScript

@return string disclosure specific inline JavaScript.
Gets disclosure specific inline JavaScript