isApiAvailable example

$data['live'] = true;
        }

        $this->View()->assign(['success' => true, 'data' => $data]);
    }

    /** * @return void */
    public function storeListingAction()
    {
        if (!$this->isApiAvailable()) {
            $this->View()->assign(['success' => false, 'data' => []]);

            return;
        }

        $categoryId = $this->Request()->getParam('categoryId');

        $filter = $this->Request()->getParam('filter', []);

        $sort = $this->Request()->getParam('sort', [['property' => 'release']]);

        
Home | Imprint | This part of the site doesn't use cookies.