The following is a list of functions used on the site and their usage. Please refer to the Common Variables to know more about the parameters used in this functions.


bwidget ($widget, $website_id, $w, $lock=0)

Get Widget data from the data_widgets table for a website


getMemberFeature ($id, $w)

Returns all data related to a Member. Still need MORE INFO. More...


getMemberFeatureArray ($id, $post, $w)

Get member feature data from the data_categories with additional pre-defined and formatted fields


showEmailFields ($form_name, $pre, $vars, $w)

Returns the values from the selected database table in an email friendly format. This will respect the Preview and Email settings in the form builder


showFormFields ($form_name, $pre, $vars, $w)

Returns the values from the selected database table in a website HTML friendly format. This will respect the Preview and Email settings in the form builder


getDataWidget ($widget, $w)

Get live widget data from the data_widgets table based on the widget name provided


bd_widgets ($name, $page_type, $vars, $w)

Will get and execute widgets within the selected sidebar / widget group


sidebar ($id, $type, $site, $w)

Will get and execute widgets within the selected sidebar / widget group


highlightSearch ($field, $q, $w)

Replaces matched search query text in the returned value and highlight the matched tect


getSidebar ($id, $name, $w)

Get Sidebar data from the sidebars database based on the sidebar id or name given


widget ($id, $type, $site, $w)

Will get and execute selected widget from the website or main repository


form ($form_name, $id, $site, $w)

Will print the input fields for a selected form using the PFBC form builder