/** * Allow Input HTML to be overridden in Field or Field View * * To override in Field, implement get_input_html(). * To override in Field View, implement get_input_html(). * */ function get_input_html() { if (method_exists($this->field, 'get_input_html')) { $input_html = $this->field->get_input_html(); } else { $input_html = $this->input_feature()->get_feature_html(); } return $input_html; }
/** * Name used for owner key. * * Most common example of a owner key would be a meta key. * * @return string */ function storage_key() { return '_' . $this->owner->storage_key(); }
/** * @return bool|string */ function html_type() { return $this->field->constant('HTML_TYPE'); }