Piwik\Plugins\Dashboard\API::getDashboards PHP Метод

getDashboards() публичный Метод

If the user has not created any dashboard yet, the default dashboard will be returned.
public getDashboards ( ) : array[]
Результат array[]
    public function getDashboards()
    {
        $dashboards = $this->getUserDashboards();
        if (empty($dashboards)) {
            $dashboards = array($this->getDefaultDashboard());
        }
        return $dashboards;
    }