public function setNoResultsText()
    {
        // no results found
        if ($this->conf['showNoResultsText']) {
            // use individual text set in flexform
            $noResultsText = $this->pi_RTEcssText($this->conf['noResultsText']);
        } else {
            // use general text
            $noResultsText = $this->pi_getLL('no_results_found');
        }

        // hook to implement your own idea of a no result message
        if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ke_search']['noResultsHandler'])) {
            foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ke_search']['noResultsHandler'] as $_classRef) {
                $_procObj = &GeneralUtility::makeInstance($_classRef);
                $_procObj->noResultsHandler($noResultsText, $this);
            }
        }

        // fill the fluid template marker
        $this->fluidTemplateVariables['noResultsText'] = $noResultsText;
    }
public function setNoResultsText()
    {
        // no results found
        if ($this->conf['showNoResultsText']) {
            // use individual text set in flexform
            $noResultsText = $this->pi_RTEcssText($this->conf['noResultsText']);
        } else {
            // use general text
            $noResultsText = $this->pi_getLL('no_results_found');
        }

        // hook to implement your own idea of a no result message
        if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ke_search']['noResultsHandler'])) {
            foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['ke_search']['noResultsHandler'] as $_classRef) {
                $_procObj = &GeneralUtility::makeInstance($_classRef);
                $_procObj->noResultsHandler($noResultsText, $this);
            }
        }

        // fill the fluid template marker
        $this->fluidTemplateVariables['noResultsText'] = $noResultsText;
    }
public function setNoResultsText ( ) { // no results found if ( $ this -> conf [ 'showNoResultsText' ] ) { // use individual text set in flexform $ noResultsText = $ this -> pi_RTEcssText ( $ this -> conf [ 'noResultsText' ] ) ; } else { // use general text $ noResultsText = $ this -> pi_getLL ( 'no_results_found' ) ; } // hook to implement your own idea of a no result message if ( is_array ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'ke_search' ] [ 'noResultsHandler' ] ) ) { foreach ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXTCONF' ] [ 'ke_search' ] [ 'noResultsHandler' ] as $ _classRef ) { $ _procObj = & GeneralUtility :: makeInstance ( $ _classRef ) ; $ _procObj -> noResultsHandler ( $ noResultsText , $ this ) ; } } // fill the fluid template marker $ this -> fluidTemplateVariables [ 'noResultsText' ] = $ noResultsText ; }
set the text for "no results"
set the text for no results