本文整理匯總了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();
}