HUtils.php

From Osclass Enterprise
Jump to: navigation, search

__get($key) - Getting from View the $key index

osc_get_param($key) - Get variable from $_REQUEST[$key]

osc_field($item, $field, $locale) - Generic function for view layer, return the $field of $item

osc_show_widgets($location) - Print all widgets belonging to $location

osc_show_recaptcha($section = ) - Print recaptcha html, if $section = "recover_password"

osc_format_date($date) - Formats the date using the appropiate format.

osc_escape_string($string) - Ecapes letters and numbers of a string

osc_private_user_menu($options = null) - Prints the user's account menu

osc_highlight($txt, $len = 300, $start_tag = '', $end_tag = '') - Gets prepared text

osc_get_http_referer()