[development] Generating page output for your pages

Darren Oh darrenoh at sidepotsinternational.com
Sun Sep 13 06:07:37 UTC 2009


I normally use theming to return HTML. If using a function, the HTML  
accumulates in a variable named $output or $content. If using a PHP  
template, I use the print function within the template.

On Sep 13, 2009, at 7:34 AM, rajasekharan wrote:

> Hi all,
>
> How do you generally accumulate the output for the various pages in  
> your module functions that have to return some HTML? I have been  
> directly printing all my desired output and using the php output  
> buffer functions to get the page's output. I haven't seen many other  
> authors do this. May be I am doing something wrong, what is the  
> generally followed method for this?
>
> Raj


More information about the development mailing list