| [ Index ] |
PHP Cross Reference of phpBB 3.0 Beta 3 |
[Source view] [Print]
(no description)
| Copyright: | (c) 2005 phpBB Group |
| License: | http://opensource.org/licenses/gpl-license.php GNU Public License |
| Version: | $Id: functions_profile_fields.php,v 1.46 2006/11/12 14:29:31 naderman Exp $ |
| File Size: | 1066 lines (32 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
custom_profile:: (17 methods):
generate_profile_fields()
validate_profile_field()
build_cache()
get_option_lang()
submit_cp_field()
generate_profile_fields_template()
get_profile_value()
get_var()
generate_int()
generate_date()
generate_bool()
generate_string()
generate_text()
generate_dropdown()
process_field_row()
build_insert_sql_array()
get_profile_field()
custom_profile_admin:: (7 methods):
validate_options()
get_string_options()
get_text_options()
get_int_options()
get_bool_options()
get_dropdown_options()
get_date_options()
Class: custom_profile - X-Ref
Custom Profile Fields| generate_profile_fields($mode, $lang_id) X-Ref |
| Assign editable fields to template, mode can be profile (for profile change) or register (for registration) Called by ucp_profile and ucp_register |
| validate_profile_field($field_type, &$field_value, $field_data) X-Ref |
| Validate entered profile field data |
| build_cache() X-Ref |
| Build profile cache, used for display |
| get_option_lang($field_id, $lang_id, $field_type, $preview) X-Ref |
| Get language entries for options and store them here for later use |
| submit_cp_field($mode, $lang_id, &$cp_data, &$cp_error) X-Ref |
| Submit profile field |
| generate_profile_fields_template($mode, $user_id = 0, $profile_row = false) X-Ref |
| Assign fields to template, used for viewprofile, viewtopic and memberlist (if load setting is enabled) This is directly connected to the user -> mode == grab is to grab the user specific fields, mode == show is for assigning the row to the template |
| get_profile_value($ident_ary) X-Ref |
| Get Profile Value for display |
| get_var($field_validation, &$profile_row, $default_value, $preview) X-Ref |
| Get field value for registration/profile |
| generate_int($profile_row, $preview = false) X-Ref |
| Process int-type |
| generate_date($profile_row, $preview = false) X-Ref |
| Process date-type |
| generate_bool($profile_row, $preview = false) X-Ref |
| Process bool-type |
| generate_string($profile_row, $preview = false) X-Ref |
| Process string-type |
| generate_text($profile_row, $preview = false) X-Ref |
| Process text-type |
| generate_dropdown($profile_row, $preview = false) X-Ref |
| Process dropdown-type |
| process_field_row($mode, $profile_row) X-Ref |
| Return Templated value/field. Possible values for $mode are: change == user is able to set/enter profile values; preview == just show the value |
| build_insert_sql_array($cp_data) X-Ref |
| Build Array for user insertion into custom profile fields table |
| get_profile_field($profile_row) X-Ref |
| Get profile field value on submit |
Class: custom_profile_admin - X-Ref
Custom Profile Fields ACP| validate_options() X-Ref |
| Return possible validation options |
| get_string_options() X-Ref |
| Get string options for second step in ACP |
| get_text_options() X-Ref |
| Get text options for second step in ACP |
| get_int_options() X-Ref |
| Get int options for second step in ACP |
| get_bool_options() X-Ref |
| Get bool options for second step in ACP |
| get_dropdown_options() X-Ref |
| Get dropdown options for second step in ACP |
| get_date_options() X-Ref |
| Get date options for second step in ACP |
| Generated: Wed Nov 22 00:35:05 2006 | Cross-referenced by PHPXref 0.6 |