TwistPHP Documentation

convertEncodingHeader

File path: dist/twist/Core/Models/Email/Create.model.php
Namespace: Twist\Core\Models\Email
Extends:

convertEncodingHeaderConvert the header encoding, if no multibyte support on PHP installation ignore the encoding and output a warning

Parameters

Name Type Description
$strDatastringn/a

Return Values

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

Example

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

//Call the function convertEncodingHeader with the example vars
$resCreate = new \Twist\Core\Models\Email\Create();
$resCreate -> convertEncodingHeader($strData);