1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-28 10:40:28 +02:00

[ticket/11201] Move get_options to type classes

PHPBB3-11201
This commit is contained in:
Joas Schilling
2014-01-11 01:44:48 +01:00
parent c665839636
commit a7e3538e5b
11 changed files with 471 additions and 217 deletions

View File

@@ -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 }
#migrator.tool.permission1:
# class: \phpbb\profilefields\profilefields
# tags:
# - { name: ffoobar.tool }
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 }
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 }