public function __construct(tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_api_options_ReferenceInterface $optionsReference, array $mediaProviders) { parent::__construct(self::FIELD_ID, $persistence, $requestParams, $templating, 'Show each video\'s...'); $this->_mediaProviders = $mediaProviders; $this->_optionsReference = $optionsReference; }
public function __construct($id, $untranslatedDisplayName, $untranslatedDescription, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_wordpress_impl_wp_WpFunctions $wpFunctions, tubepress_wordpress_impl_wp_ResourceRepository $resourceRepo) { parent::__construct($id, $persistence, $requestParams, $templating, $untranslatedDisplayName, $untranslatedDescription); $this->_wpFunctions = $wpFunctions; $this->_resourceRepo = $resourceRepo; }
public function __construct(tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_api_options_ReferenceInterface $optionsReference) { $optionName = tubepress_api_options_Names::OPTIONS_UI_DISABLED_FIELD_PROVIDERS; parent::__construct(self::FIELD_ID, $persistence, $requestParams, $templating, $optionsReference->getUntranslatedLabel($optionName), $optionsReference->getUntranslatedDescription($optionName)); }