public function __construct($optionName, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_api_options_ReferenceInterface $optionReference) { parent::__construct($optionName, 'options-ui/fields/text', $persistence, $requestParams, $templating, $optionReference); }
public function __construct($optionName, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_options_ReferenceInterface $optionsReference, tubepress_api_template_TemplatingInterface $templating, tubepress_api_util_LangUtilsInterface $langUtils, tubepress_api_options_AcceptableValuesInterface $acceptableValues) { parent::__construct($optionName, 'options-ui/fields/dropdown', $persistence, $requestParams, $templating, $optionsReference); $this->_langUtils = $langUtils; $this->_acceptableValues = $acceptableValues; }