Catalyst::Model::TextLinkAds - Catalyst model for Text Link Ads
# 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... <ul> [%- FOREACH link = c.model('TextLinkAds').fetch( my_inventory_key ) %] <li> [% link.beforeText %] <a href="[% link.URL %]">[% link.Text %]</a> [% link.afterText %] </li> [%- END %] </ul>
This is a Catalyst model class that fetches advertiser information for a given Text Link Ads publisher account.
See http://www.text-link-ads.com/publisher_program.php?ref=23206.
Instantiate a new TextLinkAds model. See TextLinkAds's new method for the options available.
Return the TextLinkAds object. Called automatically via $c->model('TextLinkAds');
TextLinkAds
$c->model('TextLinkAds');
Catalyst, Catalyst::Helper::Model::TextLinkAds, TextLinkAds
Carp
Catalyst::Model
Catalyst::Utils
Class::C3
Please report any bugs or feature requests to bug-catalyst-model-textlinkads at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-TextLinkAds.
bug-catalyst-model-textlinkads at rt.cpan.org
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
http://perlprogrammer.co.uk/modules/Catalyst::Model::TextLinkAds/
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-Model-TextLinkAds/
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-TextLinkAds
Search CPAN
http://search.cpan.org/dist/Catalyst-Model-TextLinkAds/
Dave Cardwell <dcardwell@cpan.org>
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.
To install Catalyst::Model::TextLinkAds, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::TextLinkAds
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::TextLinkAds
For more information on module installation, please visit the detailed CPAN module installation guide.