function print_form_field($fld, $type, $options = array(), $args = array()) { $value = array_key_exists($fld, $this->instance) ? $this->instance[$fld] : false; print Footer_Putter_Utils::form_field($this->get_field_id($fld), $this->get_field_name($fld), $this->tooltips->tip($fld), $value, $type, $options, $args, 'br'); }
function form_field($id, $name, $label, $value, $type, $options = array(), $args = array(), $wrap = false) { if (!$label) { $label = $id; } $label_args = is_array($args) && array_key_exists('label_args', $args) ? $args['label_args'] : false; return Footer_Putter_Utils::form_field($id, $name, $this->tooltips->tip($label, $label_args), $value, $type, $options, $args, $wrap); }