Skip to content

icms_core_Versionchecker

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_core_Versionchecker

IcmsVersionChecker

Class used to check if the ImpressCMS install is up to date

  • Class name: icms_core_Versionchecker
  • Namespace:

Properties

$errors

public array $errors = array()

Errors

  • Visibility: public

$latest_version_name

public string $latest_version_name

Name of the latest version

  • Visibility: public

$installed_version_name

public  $installed_version_name = \ICMS_VERSION_NAME

Name of installed version

  • Visibility: public

$latest_url

public string $latest_url

URL of the latest release

  • Visibility: public

$latest_changelog

public string $latest_changelog

Changelog of the latest release

  • Visibility: public

Methods

getInstance

object icms_core_Versionchecker::getInstance()

Access the only instance of this class

  • Visibility: public
  • This method is static.

check

bool icms_core_Versionchecker::check()

Check for a newer version of ImpressCMS

  • Visibility: public

getErrors

mixed icms_core_Versionchecker::getErrors(ashtml)

Gets all the error messages

  • Visibility: public

Arguments

  • ashtml mixed - <p>bool return as html?</p>

render

string icms_core_Versionchecker::render(string code)

Renders MarkDown code

  • Visibility: private

Arguments

  • code string
Clone this wiki locally