Open Source Content Management System

Midgard global PHP functions

  1. Authentication functions
  2. Command-line functions
  3. Debugging functions
  4. Formatting and style engine
  5. Informative functions
  6. Multilingual functions

The new Midgard API is mostly object-oriented. However, there are some global functions for changing state of the system.

Authentication functions

Command-line functions

Debugging functions

Formatting and style engine

Informative functions

Multilingual functions

  • mgd_set_lang - set content language of current request
  • mgd_get_lang - get content language of current request
  • mgd_set_default_lang - set fall-back language of current request
  • mgd_get_default_lang - get fall-back language of current request

These functions are only Midgard functions that remain in the Midgard 1.9/2.0 branch. All other functions have been deprecated and removed.

Designed by Nemein, hosted by Anykey