src/FlexiPeeHP/FlexiBeeRO.php
public function getReportsInfo()
    {
        $reports    = [];
        $reportsRaw = $this->getFlexiData($this->getEvidenceURL().'/reports');
        if (!empty($reportsRaw) && array_key_exists('reports', $reportsRaw) && !empty($reportsRaw['reports'])
            && array_key_exists('report', $reportsRaw['reports']) &&
            !empty($reportsRaw['reports']['report'])) {
            if (\Ease\jQuery\Part::isAssoc($reportsRaw['reports']['report'])) {
                $reports = [$reportsRaw['reports']['report']['reportId'] => $reportsRaw['reports']['report']];
            } else {
                $reports = self::reindexArrayBy($reportsRaw['reports']['report'],
                        'reportId');
            }
        }
        return $reports;
    }
public function getReportsInfo()
    {
        $reports    = [];
        $reportsRaw = $this->getFlexiData($this->getEvidenceURL().'/reports');
        if (!empty($reportsRaw) && array_key_exists('reports', $reportsRaw) && !empty($reportsRaw['reports'])
            && array_key_exists('report', $reportsRaw['reports']) &&
            !empty($reportsRaw['reports']['report'])) {
            if (\Ease\jQuery\Part::isAssoc($reportsRaw['reports']['report'])) {
                $reports = [$reportsRaw['reports']['report']['reportId'] => $reportsRaw['reports']['report']];
            } else {
                $reports = self::reindexArrayBy($reportsRaw['reports']['report'],
                        'reportId');
            }
        }
        return $reports;
    }
public function getReportsInfo ( ) { $ reports = [ ] ; $ reportsRaw = $ this -> getFlexiData ( $ this -> getEvidenceURL ( ) . '/reports' ) ; if ( ! empty ( $ reportsRaw ) && array_key_exists ( 'reports' , $ reportsRaw ) && ! empty ( $ reportsRaw [ 'reports' ] ) && array_key_exists ( 'report' , $ reportsRaw [ 'reports' ] ) && ! empty ( $ reportsRaw [ 'reports' ] [ 'report' ] ) ) { if ( \ Ease \ jQuery \ Part :: isAssoc ( $ reportsRaw [ 'reports' ] [ 'report' ] ) ) { $ reports = [ $ reportsRaw [ 'reports' ] [ 'report' ] [ 'reportId' ] => $ reportsRaw [ 'reports' ] [ 'report' ] ] ; } else { $ reports = self :: reindexArrayBy ( $ reportsRaw [ 'reports' ] [ 'report' ] , 'reportId' ) ; } } return $ reports ; }
Get Current Evidence reports listing

@link https://www.flexibee.eu/api/dokumentace/casto-kladene-dotazy-pro-api/vyber-reportu-do-pdf/ Výběr reportu do PDF

@return array
Get Current Evidence reports listing