ApiOpenStudio PHPDoc

ConvertToHtmlTrait

Trait ConvertToHtmlTrait.

Class to cast an input value to HTML.

Table of Contents

fromArrayToHtml()  : string
Convert array to HTML string.
fromBooleanToHtml()  : string
Convert boolean to HTML string.
fromEmptyToHtml()  : string|null
Convert empty to HTML.
fromFileToHtml()  : string
Convert file to HTML string.
fromFloatToHtml()  : string
Convert float to HTML string.
fromHtmlToHtml()  : string
Convert an HTML string to HTML string.
fromImageToHtml()  : string
Convert an image string to HTML string.
fromIntegerToHtml()  : string
Convert integer to HTML string.
fromJsonToHtml()  : string
Convert JSON string to HTML string.
fromTextToHtml()  : string
Convert text to HTML string.
fromXmlToHtml()  : string
Convert HTML string to HTML string.
wrapDataHtmlFormat()  : string
Wrap Data in HTML string wrapper.

Methods

fromArrayToHtml()

Convert array to HTML string.

public fromArrayToHtml( $data) : string
Parameters
$data :
Tags
throws
ApiException
Return values
string

fromBooleanToHtml()

Convert boolean to HTML string.

public fromBooleanToHtml( $data) : string
Parameters
$data :
Return values
string

fromEmptyToHtml()

Convert empty to HTML.

public fromEmptyToHtml( $data) : string|null
Parameters
$data :
Return values
string|null

fromFileToHtml()

Convert file to HTML string.

public fromFileToHtml( $data) : string
Parameters
$data :
Return values
string

fromFloatToHtml()

Convert float to HTML string.

public fromFloatToHtml( $data) : string
Parameters
$data :
Return values
string

fromHtmlToHtml()

Convert an HTML string to HTML string.

public fromHtmlToHtml( $data) : string
Parameters
$data :
Return values
string

fromImageToHtml()

Convert an image string to HTML string.

public fromImageToHtml( $data) : string
Parameters
$data :
Return values
string

fromIntegerToHtml()

Convert integer to HTML string.

public fromIntegerToHtml( $data) : string
Parameters
$data :
Return values
string

fromJsonToHtml()

Convert JSON string to HTML string.

public fromJsonToHtml( $data) : string
Parameters
$data :
Tags
throws
ApiException
Return values
string

fromTextToHtml()

Convert text to HTML string.

public fromTextToHtml( $data) : string
Parameters
$data :
Return values
string

fromXmlToHtml()

Convert HTML string to HTML string.

public fromXmlToHtml( $data) : string
Parameters
$data :
Return values
string

wrapDataHtmlFormat()

Wrap Data in HTML string wrapper.

protected wrapDataHtmlFormat( $data) : string
Parameters
$data :
Return values
string

Search results