TwistPHP Documentation

addFieldPrefix

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

addFieldPrefix

Parameters

Name Type Description
$strNamestringn/a
$strPrefixstringn/a

Return Values

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

Example

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

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