---
name: "Jifty::View::Declare::Page"
section: "3pm"
platform: "linux"
package: "libjifty-perl"
version: "1.10518+dfsg-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::View::Declare::Page"
---

# Jifty::View::Declare::Page(3pm)

page wrappers

## NAME

Jifty::View::Declare::Page - page wrappers

## DESCRIPTION

This library provides page wrappers

## METHODS

### new

Sets up a new page class

### render

Renders everything. This main driver of page rendering and called right after constructing page object.

### render\_header $title

Renders an HTML5 "doctype", \<head\> and the first part of a page body. This bit isn't terribly well thought out and we're not happy with it.

### render\_body $body\_code

Renders `$body_code` inside a body tag

### render\_page

Renders the skeleton of the page

### mk\_title\_handler

Returns a coderef that will make headers for each thing passed to it

### render\_title

Renders the in-page title

### render\_footer

Renders the page footer and prepends the header to the Template::Declare buffer.

### render\_pre\_content\_hook

Renders the AdminMode alert (if AdminMode is on)

### render\_jifty\_page\_detritus

Renders the keybinding and PubSub javascript as well as the wait message
