hwapi_content_new

Create new instance of class hw_api_content

Description

HW_API_Content hwapi_content_new ( string $content , string $mimetype )

Creates a new content object from the string content.

Parameters

content

mimetype

The mimetype for the contents.

Return Values