The headline figures for the available updates panel, so that the page doesn't have to aggregate over the list of updates in Velocity.


Properties

PropertyReturnsDescription
appCountintNumber of updates which are apps, as opposed to libs or themes.
libCountintNumber of updates which are libs or themes, ie everything which isn't an app.
missingCountintNumber of dependencies required by an active app that are not themselves active.
oldestAppliedDateDateOf the apps with updates available, the date the least recently updated one was last updated. Ie "your oldest updated app was last updated 3 years ago". Falls back to the oldest date across libs and themes if none of the updates are apps.
oldestAvailableDateDateOf the updates available, the date the longest-waiting one was published. Ie "updates have not been applied since 4 months ago".
totalCountintTotal number of apps, themes and libs with an update available.

Methods

getAppCount()

Returns: int

Number of updates which are apps, as opposed to libs or themes.

getLibCount()

Returns: int

Number of updates which are libs or themes, ie everything which isn't an app.

getTotalCount()

Returns: int

Total number of apps, themes and libs with an update available.

getMissingCount()

Returns: int

Number of dependencies required by an active app that are not themselves active.

getOldestAppliedDate()

Returns: Date

Of the apps with updates available, the date the least recently updated one was last updated. Ie "your oldest updated app was last updated 3 years ago". Falls back to the oldest date across libs and themes if none of the updates are apps.

getOldestAvailableDate()

Returns: Date

Of the updates available, the date the longest-waiting one was published. Ie "updates have not been applied since 4 months ago".

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.