SoPHIE API Documentation

Html API Documentation

SoPHIE Html API Class

The API provides Html helper functionality

Init: $htmlApi = $api->get('sophie_html');

Method: $htmlApi->escape(...)

Escape string for HTML output

Parameters:

  • String $string String to be escaped

Returns String

Method: $htmlApi->htmlAttribs(...)

Helper function to render HTML attributes

Returns String