本文整理汇总了PHP中Illuminate\Html\FormBuilder::close方法的典型用法代码示例。如果您正苦于以下问题:PHP FormBuilder::close方法的具体用法?PHP FormBuilder::close怎么用?PHP FormBuilder::close使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Illuminate\Html\FormBuilder
的用法示例。
在下文中一共展示了FormBuilder::close方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: close
/**
* Close the current form.
*
* @return string
*/
public function close()
{
if (!$this->access) {
return;
}
return parent::close();
}
示例2: render
/**
* Render the form for a given action or the default form.
*
* @param string $action
* @param array $attributes
*
* @return string
*/
public function render($action = null, array $attributes = array())
{
$renderer = $this->getRenderer();
$html = $this->open($action, $attributes);
$html .= $renderer->render($this->getFields());
$html .= $this->builder->close();
return $html;
}
示例3: close
public function close()
{
return sprintf('<div class="form-group">
<button type="submit"
class="btn btn-success btn-block btn-loading"
data-loading="<span class=\'glyphicon glyphicon-refresh spinning\'></span>">حفظ
</button>
</div>%s', parent::close());
}
示例4: close
/**
* Close the current form.
*
* @return string
* @static
*/
public static function close()
{
return \Illuminate\Html\FormBuilder::close();
}
示例5: close
/**
* Close the current form.
*
* @return string
*/
public function close()
{
$this->session->put('formhelper-required-fields', $this->requiredFields);
return parent::close();
}
示例6: formClose
/**
* @param Form $form
* @return string
*/
public function formClose(Form $form)
{
$this->formData = [];
return $this->builder->close();
}
示例7: close
/**
* Close the current form.
*
* @return string
*/
public function close()
{
return $this->form->close();
}
示例8: close
/**
* Close the current form.
*
* @return \Illuminate\Support\HtmlString
*/
public function close()
{
return new HtmlString(parent::close());
}
示例9: close
/**
* Closes form and reset $this->rules
*
* @see Illuminate\Html\FormBuilder
*/
public function close()
{
$this->resetValidation();
return parent::close();
}