src/Contao/View/Contao2BackendView/TreeView.php
public function handleAjaxCall()
    {
        $input = $this->getEnvironment()->getInputProvider();

        if ('DcGeneralLoadSubTree' !== $input->getValue('action')) {
            parent::handleAjaxCall();

            return;
        }

        $response = new Response(
            $this->ajaxTreeView(
                $input->getValue('id'),
                $input->getValue('providerName'),
                $input->getValue('level')
            )
        );

        throw new ResponseException($response);
    }
public function handleAjaxCall()
    {
        $input = $this->getEnvironment()->getInputProvider();

        if ('DcGeneralLoadSubTree' !== $input->getValue('action')) {
            parent::handleAjaxCall();

            return;
        }

        $response = new Response(
            $this->ajaxTreeView(
                $input->getValue('id'),
                $input->getValue('providerName'),
                $input->getValue('level')
            )
        );

        throw new ResponseException($response);
    }
public function handleAjaxCall ( ) { $ input = $ this -> getEnvironment ( ) -> getInputProvider ( ) ; if ( 'DcGeneralLoadSubTree' !== $ input -> getValue ( 'action' ) ) { parent :: handleAjaxCall ( ) ; return ; } $ response = new Response ( $ this -> ajaxTreeView ( $ input -> getValue ( 'id' ) , $ input -> getValue ( 'providerName' ) , $ input -> getValue ( 'level' ) ) ) ; throw new ResponseException ( $ response ) ; }
Handle an ajax call.

@return void

@throws ResponseException Throws a response exception.

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
@SuppressWarnings(PHPMD.ExitExpression)
Handle an ajax call .