TwistPHP Documentation

addSumbit

File path: dist/twist/Core/Models/Form/Builder.model.php
Namespace: Twist\Core\Models\Form
Extends:

addSumbit

Parameters

Name Type Description
$strNamestringn/a
$strSuccessRedirectstringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strName 'foo';
$strSuccessRedirect 'foo';

//Call the function addSumbit with the example vars
$resBuilder = new \Twist\Core\Models\Form\Builder();
$resBuilder -> addSumbit($strName$strSuccessRedirect);