Downloads

Download tar.gz 9.27 KB
MD5: ecb7c3ce1f3a60c9050af38477ad7be3
SHA-1: 49d6f527f893b55a1b86b33dac156f12d35fef7b
SHA-256: f984a9b2329ffe698962588edd9ecf003de7e8d028645abd52cd409fa361093e
Download zip 11.23 KB
MD5: 4396a7522e43dd044122eff75ce2d633
SHA-1: fa2b62c1a31e0af81506775d8ce4d1e37f94331c
SHA-256: 126d936e151c2fb9d76dc553146c161e414bd5ecee844d3db48b3ef0c668b1e5

Release notes

Echo

Wraps content in a themed webpage.

This very simple module contains only one externally useful function:

echo_themed_page($title, $content, $theme)

Returns a page themed for the anonymous user.

Generates the text of a fully-themed Drupal page. The rendered page is returned as a text string instead of being sent to the browser. The theme system can thus be used to style any HTML message as if it had been generated by the live website.

Parameters

$title The text to display as the page title.

$content The text to display in the main page content region.

$theme The machine-readable name of the theme to use.

Return value

A string containing the fully-themed page.

Created by: pillarsdotnet
Created on: 10 Apr 2011 at 01:18 UTC
Last updated: 10 Apr 2011 at 12:05 UTC

Other releases