Swat/SwatDetailsView.php
protected function getInlineJavaScript()
    {
        $javascript = '';

        foreach ($this->fields as $field) {
            $field_javascript = $field->getRendererInlineJavaScript();
            if ($field_javascript != '') {
                $javascript .= "\n" . $field_javascript;
            }
        }

        foreach ($this->fields as $field) {
            $field_javascript = $field->getInlineJavaScript();
            if ($field_javascript != '') {
                $javascript .= "\n" . $field_javascript;
            }
        }

        return $javascript;
    }
protected function getInlineJavaScript()
    {
        $javascript = '';

        foreach ($this->fields as $field) {
            $field_javascript = $field->getRendererInlineJavaScript();
            if ($field_javascript != '') {
                $javascript .= "\n" . $field_javascript;
            }
        }

        foreach ($this->fields as $field) {
            $field_javascript = $field->getInlineJavaScript();
            if ($field_javascript != '') {
                $javascript .= "\n" . $field_javascript;
            }
        }

        return $javascript;
    }
protected function getInlineJavaScript ( ) { $ javascript = '' ; foreach ( $ this -> fields as $ field ) { $ field_javascript = $ field -> getRendererInlineJavaScript ( ) ; if ( $ field_javascript != '' ) { $ javascript .= "\n" . $ field_javascript ; } } foreach ( $ this -> fields as $ field ) { $ field_javascript = $ field -> getInlineJavaScript ( ) ; if ( $ field_javascript != '' ) { $ javascript .= "\n" . $ field_javascript ; } } return $ javascript ; }
Gets the inline JavaScript needed by this details view as well as any
inline JavaScript needed by fields

@return string inline JavaScript needed by this details view.
Gets the inline JavaScript needed by this details view as well as any inline JavaScript needed by fields