public function getOxcomAdminSearchResults()
    {
        $aData = [];
        if (strlen($this->_sQueryName) > 2) {
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowArticles")) {
                $aData["articles"] = $this->_getOxcomAdminSearchArticles();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowCategories")) {
                $aData["categories"] = $this->_getOxcomAdminSearchCategories();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowCmsPages")) {
                $aData["cmspages"] = $this->_getOxcomAdminSearchCmsPages();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowOrders")) {
                $aData["orders"] = $this->_getOxcomAdminSearchOrders();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowUsers")) {
                $aData["users"] = $this->_getOxcomAdminSearchUsers();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowCompanies")) {
                $aData["companies"] = $this->_getOxcomAdminSearchCompanies();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowVendors")) {
                $aData["vendors"] = $this->_getOxcomAdminSearchVendors();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowManufacturers")) {
                $aData["manufacturers"] = $this->_getOxcomAdminSearchManufacturers();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowModules")) {
                $aData["modules"] = $this->_getOxcomAdminSearchModules();
            }
        }
        echo json_encode($aData);
        exit;
    }
public function getOxcomAdminSearchResults()
    {
        $aData = [];
        if (strlen($this->_sQueryName) > 2) {
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowArticles")) {
                $aData["articles"] = $this->_getOxcomAdminSearchArticles();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowCategories")) {
                $aData["categories"] = $this->_getOxcomAdminSearchCategories();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowCmsPages")) {
                $aData["cmspages"] = $this->_getOxcomAdminSearchCmsPages();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowOrders")) {
                $aData["orders"] = $this->_getOxcomAdminSearchOrders();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowUsers")) {
                $aData["users"] = $this->_getOxcomAdminSearchUsers();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowCompanies")) {
                $aData["companies"] = $this->_getOxcomAdminSearchCompanies();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowVendors")) {
                $aData["vendors"] = $this->_getOxcomAdminSearchVendors();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowManufacturers")) {
                $aData["manufacturers"] = $this->_getOxcomAdminSearchManufacturers();
            }
            if ($this->getOxcomAdminSearchConfigParam("blOxComAdminSearchShowModules")) {
                $aData["modules"] = $this->_getOxcomAdminSearchModules();
            }
        }
        echo json_encode($aData);
        exit;
    }
public function getOxcomAdminSearchResults ( ) { $ aData = [ ] ; if ( strlen ( $ this -> _sQueryName ) > 2 ) { if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowArticles" ) ) { $ aData [ "articles" ] = $ this -> _getOxcomAdminSearchArticles ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowCategories" ) ) { $ aData [ "categories" ] = $ this -> _getOxcomAdminSearchCategories ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowCmsPages" ) ) { $ aData [ "cmspages" ] = $ this -> _getOxcomAdminSearchCmsPages ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowOrders" ) ) { $ aData [ "orders" ] = $ this -> _getOxcomAdminSearchOrders ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowUsers" ) ) { $ aData [ "users" ] = $ this -> _getOxcomAdminSearchUsers ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowCompanies" ) ) { $ aData [ "companies" ] = $ this -> _getOxcomAdminSearchCompanies ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowVendors" ) ) { $ aData [ "vendors" ] = $ this -> _getOxcomAdminSearchVendors ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowManufacturers" ) ) { $ aData [ "manufacturers" ] = $ this -> _getOxcomAdminSearchManufacturers ( ) ; } if ( $ this -> getOxcomAdminSearchConfigParam ( "blOxComAdminSearchShowModules" ) ) { $ aData [ "modules" ] = $ this -> _getOxcomAdminSearchModules ( ) ; } } echo json_encode ( $ aData ) ; exit ; }
Gets search results for template
Gets search results for template