diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2013-03-18 23:09:37 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2013-05-08 08:46:04 +0200 |
| commit | 001e3ebe9e9534ba0f05dd3a391a2a163a77347a (patch) | |
| tree | d339cfec79b9f2750adfaa98de2dc2ebb864f344 | |
| parent | 5794b3d621b9d48b9bf7dcdcc7cc15585bddd021 (diff) | |
| download | forums-001e3ebe9e9534ba0f05dd3a391a2a163a77347a.tar forums-001e3ebe9e9534ba0f05dd3a391a2a163a77347a.tar.gz forums-001e3ebe9e9534ba0f05dd3a391a2a163a77347a.tar.bz2 forums-001e3ebe9e9534ba0f05dd3a391a2a163a77347a.tar.xz forums-001e3ebe9e9534ba0f05dd3a391a2a163a77347a.zip | |
[ticket/11450] Fix doc blocks and add missing class var $config
PHPBB3-11450
| -rw-r--r-- | phpBB/includes/extension/metadata_manager.php | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/phpBB/includes/extension/metadata_manager.php b/phpBB/includes/extension/metadata_manager.php index 030e1bdb9d..14b77c085b 100644 --- a/phpBB/includes/extension/metadata_manager.php +++ b/phpBB/includes/extension/metadata_manager.php @@ -22,18 +22,56 @@ if (!defined('IN_PHPBB')) */ class phpbb_extension_metadata_manager { + /** + * phpBB Config instance + * @var phpbb_config + */ + protected $config; + + /** + * phpBB Extension Manager + * @var phpbb_extension_manager + */ protected $extension_manager; - protected $phpbb_root_path; + + /** + * phpBB Template instance + * @var phpbb_template + */ protected $template; + + /** + * phpBB root path + * @var string + */ + protected $phpbb_root_path; + + /** + * Name (including vendor) of the extension + * @var string + */ protected $ext_name; + + /** + * Metadata from the composer.json file + * @var array + */ protected $metadata; + + /** + * Link (including root path) to the metadata file + * @var string + */ protected $metadata_file; /** * Creates the metadata manager * - * @param string $extension_manager An instance of the phpbb extension manager - * @param string $phpbb_root_path Path to the phpbb includes directory. + * @param string $ext_name Name (including vendor) of the extension + * @param phpbb_config $config phpBB Config instance + * @param phpbb_extension_manager $extension_manager An instance of the phpBBb extension manager + * @param phpbb_template $template phpBB Template instance + * @param string $phpbb_root_path Path to the phpbb includes directory. */ public function __construct($ext_name, phpbb_config $config, phpbb_extension_manager $extension_manager, phpbb_template $template, $phpbb_root_path) { |
