Helpers

From OSClass

Helper is the common name for the functions located on the files under oc-includes/osclass/helpers. They're simple functions that interact with the core of Osclass.


They're organized in several files, for example hItems.php contains helpers related to items, with osc_item_title() you retrieve the title of the actual item.

List of helpers

  • hDefines.php : Some url definitions and other usefull information
  • hItems.php : Item information (title, description, date, url,...)
  • hLocale.php : Helpers for locale and language management
  • hUsers.php : User information as name, email,...

Documentation

The full documentation of helpers' functions can be found at the official documentation of Osclass.