Helpers

parseInput($array)

danger_in_json($array)

danger($title, $subtitle = null, $type = 'danger')

flash($title, $subtitle = null, $type = 'success')

flashSaved() / flashDeleted()

is_equal_url($route)

add_class_by_route($route, $class = 'active', $elseClass = '')

add_class_by_controller($controller, $class = 'active', $elseClass = '')

error($msgs)

current_inside_controller($controllerToCheck)

base64url_encode($str)

model($model, $instance = false)

placeholder_img()

remove_element_by_selector($selector, $html)

convert_bytes($bytes, $precision = 2, $unit = true)

array_to_object($array)

user()

timestamp_format()

datetime_format()

br2nl($string)

setting($group, $key, $default)

db_config($key, $default)