FOF30\Update\Collection::getCategories PHP Метод

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

Returns only the category definitions of a collection
public getCategories ( string $url, string $jVersion = null ) : array
$url string The URL of the collection update source
$jVersion string Joomla! version to fetch updates for, or null to use JVERSION
Результат array An array of category update definitions
    public function getCategories($url, $jVersion = null)
    {
        $allUpdates = $this->getAllUpdates($url, $jVersion);
        return $allUpdates['categories'];
    }