scbAdminPage::form_wrap( string $content, boolean|string|array $submit_button = true )
Mimics scbForms::form_wrap()
Package
Description Description
$this->form_wrap( $content ); // generates a form with a default submit button
$this->form_wrap( $content, false ); // generates a form with no submit button
// the second argument is sent to submit_button() $this->form_wrap( $content, array( ‘text’ => ‘Save changes’, ‘name’ => ‘action’, ) );
See also See also
Parameters Parameters
- $content
(string) (Required)
- $submit_button
(boolean|string|array) (Optional) (optional)
Default value: true
Return Return
(string)