public function getStatisticsApp():array
    {

        $f = $this->getAllApps();
        $fc = 0;
        $fenable = 0;
        $fprefix = 0;

        foreach ($f as $one) {
            if ($one->enabled == "yes") {
                $fenable++;
            }
            if ($one->prefix != "") {
                $fprefix++;
            }
            $fc++;
        }

        return (array("number" => $fc, "prefixed" => $fprefix, "enabled" => $fenable));
    }
public function getStatisticsApp():array
    {

        $f = $this->getAllApps();
        $fc = 0;
        $fenable = 0;
        $fprefix = 0;

        foreach ($f as $one) {
            if ($one->enabled == "yes") {
                $fenable++;
            }
            if ($one->prefix != "") {
                $fprefix++;
            }
            $fc++;
        }

        return (array("number" => $fc, "prefixed" => $fprefix, "enabled" => $fenable));
    }
public function getStatisticsApp ( ) : array { $ f = $ this -> getAllApps ( ) ; $ fc = 0 ; $ fenable = 0 ; $ fprefix = 0 ; foreach ( $ f as $ one ) { if ( $ one -> enabled == "yes" ) { $ fenable ++ ; } if ( $ one -> prefix != "" ) { $ fprefix ++ ; } $ fc ++ ; } return ( array ( "number" => $ fc , "prefixed" => $ fprefix , "enabled" => $ fenable ) ) ; }
Get app statistics
@return array App statistics
Get app statistics