/** * Overrides parent to make sure this display strategy is only used with the * appropriate input type * * @return \EE_Form_Input_With_Options_Base * @throws \EE_Error */ public function get_input() { if (!$this->_input instanceof EE_Form_Input_With_Options_Base) { throw new EE_Error(sprintf(__('Can not use a Compound Input Display Strategy (eg checkbox or radio) with an input that doesn\'t have options', 'event_espresso'))); } return parent::get_input(); }