[ticket/12786] Extend profilefield_base_migration.php class

If extensions authors will use profilefield_base_migration.php
class as base class for creation of CPFs, the class need to be
extended a bit.

At the moment there are two issues with it:

It does not create entries for PROFILE_FIELDS_LANG_TABLE
(as it can't know what fields to create).

The migration is not "cleaning" the DBMS after purging
the extension and leaves everything except the CPF column.

Adding profilefield_language_data

PHPBB3-12786
[ticket/12786] Add get_custom_field_id

Adding function to get CPFs ID

PHPBB3-12786
[ticket/12786] Add create_language_entries

Add function to create entries in PROFILE_FIELDS_LANG_TABLE

PHPBB3-12786
[ticket/12786] White spaces found

Removed some white spaces

PHPBB3-12786
[ticket/12786] Add clean_cpf_db_entries

Add function to clean the cpf fields entries

PHPBB3-12786
[ticket/12786] Some minor fixes of comments and function naming

PHPBB3-12786
[ticket/12786] Dixing a typo

Typos fixed

PHPBB3-12786
[ticket/12786] Some changes of the comments.

Comments and quotes

PHPBB3-12786

[ticket/12786]

PHPBB3-12786

Revert "[ticket/12786]"

This reverts commit 61a6647101731110f67689b109de953f7449b03e.
[ticket/12786] Array_merge instead copy array parts

nickvergessen proposed this

PHPBB3-12786
[ticket/12786] Correcting some tabs

Some tabs needed corection

PHPBB3-12786
Merge pull request #2675 from lucifer4o/ticket/12786

[ticket/12786] Extend profilefield_base_migration.php class

* lucifer4o/ticket/12786:
  [ticket/12786] Correcting some tabs
  [ticket/12786] Array_merge instead copy array parts
  [ticket/12786] Some changes of the comments.
  [ticket/12786] Dixing a typo
  [ticket/12786] Some minor fixes of comments and function naming
  [ticket/12786] Add clean_cpf_db_entries
  [ticket/12786] White spaces found
  [ticket/12786] Add create_language_entries
  [ticket/12786] Add get_custom_field_id
  [ticket/12786] Extend profilefield_base_migration.php class