Jifty::Plugin::Halo - Provides halos


Jifty documentation  | view source Contained in the Jifty distribution.

Index


NAME

Top

Jifty::Plugin::Halo - Provides halos

DESCRIPTION

Top

This plugin provides http://seaside.st (Seasidesque) halos for your application. It's included by default when using Jifty with DevelMode turned on.

init

Only enable halos in DevelMode. Add our instrumentation to Template::Declare.

around_template

This is called to instrument Template::Declare templates. We also draw a halo around the template itself.

halo_header frame -> string

This will give you the halo header which includes links to the various information displays for this template.

new_frame -> hashref

Gives you a new frame for storing halo information.

push_frame -> frame

Creates and pushes a frame onto the render stack. Mason's halos do not support arounding a component, so we fake it with an explicit stack.

This also triggers halo_pre_template for plugins adding halo data.

pop_frame -> frame

Pops a frame off the render stack. Mason's halos do not support arounding a component, so we fake it with an explicit stack.

This also triggers halo_post_template for plugins adding halo data.

is_proscribed FRAME

Returns true if the given FRAME should not have a halo around it.


Jifty documentation  | view source Contained in the Jifty distribution.