update
in package
Static class to check for available updates of Zenphoto
Tags
Table of Contents
Methods
- check() : array<string|int, mixed>
- Searches the zenphoto.org home page for the current zenphoto download locates the version number of the download and compares it to the version we are running.
- printNotice() : mixed
- Prints a notice about an available update
Methods
check()
Searches the zenphoto.org home page for the current zenphoto download locates the version number of the download and compares it to the version we are running.
public
static check() : array<string|int, mixed>
Requires the native DOMDocumment PHP extension to be installed on the server
Return values
array<string|int, mixed> —If there is a more current version on the WEB, returns an array with the number and a subarray of the release post article
printNotice()
Prints a notice about an available update
public
static printNotice() : mixed