GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CATALYST::VIEW::ATOM::XML (3)

.ds Aq ’

NAME

Catalyst::View::Atom::XML - XML serialization for Atom objects

CONTENTS

SYNOPSIS



    package My::App::View::XML;
    use strict;
    use base qw( Catalyst::View::Atom::XML );
    1;



DESCRIPTION

Catalyst::View::Atom::XML provides automatic serialization of XML::Atom objects for a Catalyst application. Your application needs only set $c->stash->{xml_atom_object}, then forward to your view, to serialize an XML::Atom object.

For example:



    sub foo {
        my($self, $c) = @_;
        my $entry = XML::Atom::Entry->new;
        $entry->title(Foo);
        $c->stash->{xml_atom_object} = $entry;
    }

    sub end : Private {
        my($self, $c) = @_;
        $c->forward(My::App::View::XML);
    }



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CATALYST::VIEW::ATOM::XML (3) 2006-01-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.