diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-01-11 01:44:48 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-01-13 21:09:07 +0100 |
| commit | a7e3538e5b0cb12610b5c051a5d30292970249d1 (patch) | |
| tree | 6cecd0a569804f49a85e074ef6faa8cbbb128adb /phpBB/config | |
| parent | c6658396362f56e1f6605b032bbb7d12275e4749 (diff) | |
| download | forums-a7e3538e5b0cb12610b5c051a5d30292970249d1.tar forums-a7e3538e5b0cb12610b5c051a5d30292970249d1.tar.gz forums-a7e3538e5b0cb12610b5c051a5d30292970249d1.tar.bz2 forums-a7e3538e5b0cb12610b5c051a5d30292970249d1.tar.xz forums-a7e3538e5b0cb12610b5c051a5d30292970249d1.zip | |
[ticket/11201] Move get_options to type classes
PHPBB3-11201
Diffstat (limited to 'phpBB/config')
| -rw-r--r-- | phpBB/config/profilefields.yml | 52 |
1 files changed, 41 insertions, 11 deletions
diff --git a/phpBB/config/profilefields.yml b/phpBB/config/profilefields.yml index 4fac8bed9b..37df3d9019 100644 --- a/phpBB/config/profilefields.yml +++ b/phpBB/config/profilefields.yml @@ -8,17 +8,47 @@ services: - @template - @user - profilefields.admin: - class: \phpbb\profilefields\admin + profilefields.type.bool: + class: \phpbb\profilefields\type\type_bool arguments: - - @auth - - @config - - @dbal.conn - - @request - - @template + - @profilefields + - @user + tags: + - { name: profilefield.type } + + profilefields.type.date: + class: \phpbb\profilefields\type\type_date + arguments: + - @profilefields + - @user + tags: + - { name: profilefield.type } + + profilefields.type.dropdown: + class: \phpbb\profilefields\type\type_dropdown + arguments: + - @profilefields - @user + tags: + - { name: profilefield.type } - #migrator.tool.permission1: - # class: \phpbb\profilefields\profilefields - # tags: - # - { name: ffoobar.tool } + profilefields.type.int: + class: \phpbb\profilefields\type\type_int + arguments: + - @user + tags: + - { name: profilefield.type } + + profilefields.type.string: + class: \phpbb\profilefields\type\type_string + arguments: + - @user + tags: + - { name: profilefield.type } + + profilefields.type.text: + class: \phpbb\profilefields\type\type_text + arguments: + - @user + tags: + - { name: profilefield.type } |
