phpBB API Documentation
Class

acp_profile

class acp_profile

Properties

$u_action
$edit_lang_id
$lang_defs

Methods

main($id, $mode)

build_language_options($cp, $field_type, $action = 'create')

Build all Language specific options

save_profile_field($cp, $field_type, $action = 'create')

Save Profile Field

update_insert($table, $sql_ary, $where_fields)

Update, then insert if not successfull

add_field_ident($field_ident, $field_type)

Return sql statement for adding a new field ident (profile field) to the profile fields data table

Details

at line 29
public main($id, $mode)

Parameters

$id
$mode

at line 928
public build_language_options($cp, $field_type, $action = 'create')

Build all Language specific options

Parameters

$cp
$field_type
$action

at line 1048
public save_profile_field($cp, $field_type, $action = 'create')

Save Profile Field

Parameters

$cp
$field_type
$action

at line 1340
public update_insert($table, $sql_ary, $where_fields)

Update, then insert if not successfull

Parameters

$table
$sql_ary
$where_fields

at line 1388
public add_field_ident($field_ident, $field_type)

Return sql statement for adding a new field ident (profile field) to the profile fields data table

Parameters

$field_ident
$field_type