/** * Create a HTML hidden input element. * * @param string $name * @param string $value * @param array $attributes * @return string */ public function hidden($name, $value = null, $attributes = array()) { $value = $this->calculateValue($name, $value); return parent::hidden($name, $value, $attributes); }
/** * Create a hidden input field. * * @param string $name * @param string $value * @param array $options * @return string * @static */ public static function hidden($name, $value = null, $options = array()) { return \Illuminate\Html\FormBuilder::hidden($name, $value, $options); }
/** * @param Field $field * @return string */ public function hiddenField(Field $field) { return $this->builder->hidden($field->name, $field->value, $field->getAttributes()); }