next up previous contents
Next: Objects Up: MIC Provided Perl Functions Previous: MIC Provided Perl Functions   Contents

Functions



scalar return_page (scalar)

This function takes the name of the page to be returned and returns the content generated by this page. Generally, this should be used like ``return return_page(`new_page');'' and not to rip content from some page for insertion. This is better done with MICincludes and by other methods.

The page specified should be MIC-root relative and can be in functional or HTML format. It may be a page within the current pile or a mounted pile (sub-pile) of the current pile, in which case the MIC-root relative designation is obviously through the mount point. The function will access the $headers variable and make drop the proper headers in order that relative paths don't getted confused on the receiving page.