Helpers
From Osclass Enterprise
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 Enterprise.
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
- hCategories.php : Category information (name, description, id, url,...)
- hDatabaseInfo.php : Database information (database, user, host,...)
- hDefines.php : Some url definitions and other usefull information
- hErrors.php : Errors helpers
- hItems.php : Item information (title, description, date, url,...)
- hLocale.php : Helpers for locale and language management
- hLocation.php : Helpers for locations
- hMessages.php : Flash messages functions
- hPage.php : Static page information
- hPagination.php : Functions for add a pagination to any page
- hPlugins.php : Functions for plugins
- hPreference.php : Functions to retrieve preference stored values
- hPremium.php : Functions for premium ads
- hSanitize.php : Functions for sanitize input values
- hSearch.php : Functions for manage Search model
- hSecurity.php : Some security helpers
- hTheme.php : Helpers for theme management
- hTranslations.php : Functions to manage the translations
- hUsers.php : User information as name, email,...
- hUtils.php : Several misc. functions
- hValidate.php : Functions to validate input values