NAME
Catalyst::Model::TextLinkAds - Catalyst model for Text Link Ads
SYNOPSIS
# Use the helper to add a TextLinkAds model to your application...
script/myapp_create.pl create model TextLinkAds TextLinkAds
# lib/MyApp/Model/TextLinkAds.pm
package MyApp::Model::TextLinkAds;
use base qw/ Catalyst::Model::TextLinkAds /;
__PACKAGE__->config(
cache => 0, # optional: default uses Cache::FileCache
tmpdir => '/tmp', # optional: default File::Spec->tmpdir
);
1;
# For Catalyst::View::TT...
[%- FOREACH link = c.model('TextLinkAds').fetch( my_inventory_key ) %]
-
[% link.beforeText %]
[% link.Text %]
[% link.afterText %]
[%- END %]
DESCRIPTION
This is a Catalyst model class that fetches advertiser information for a
given Text Link Ads publisher account.
See .
METHODS
->new()
Instantiate a new TextLinkAds model. See TextLinkAds's new method for
the options available.
ACCEPT_CONTEXT
Return the "TextLinkAds" object. Called automatically via
"$c->model('TextLinkAds');"
SEE ALSO
Catalyst, Catalyst::Helper::Model::TextLinkAds, TextLinkAds
DEPENDENCIES
* Carp
* Catalyst::Model
* Catalyst::Utils
* Class::C3
* TextLinkAds
BUGS
Please report any bugs or feature requests to
"bug-catalyst-model-textlinkads at rt.cpan.org", or through the web
interface at
.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Model::TextLinkAds
You may also look for information at:
* Catalyst::Model::TextLinkAds
* AnnoCPAN: Annotated CPAN documentation
* RT: CPAN's request tracker
* Search CPAN
AUTHOR
Dave Cardwell
COPYRIGHT AND LICENSE
Copyright (c) 2007 Dave Cardwell. All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. See perlartistic.