TwistPHP Documentation

addCancel

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

addCancel

Parameters

Name Type Description
$strNamestringn/a
$strCancelRedirectstringn/a

Return Values

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

Example

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

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