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  -  JIFTY::DBI::HASFILTERS (3)

.ds Aq ’

NAME

Jifty::DBI::HasFilters - abstract class for objects that has filters

CONTENTS

SYNOPSIS



  my $record = Jifty::DBI::Record->new(...);
  $record->input_filters( Jifty::DBI::Filter::Truncate,
                          Jifty::DBI::Filter::utf8
                        );
  my @filters = $record->output_filters;



DESCRIPTION

This abstract class provide generic interface for setting and getting input and output data filters for Jifty::DBI objects. You shouldn’t use it directly, but Jifty::DBI::Handle, Jifty::DBI::Record and Jifty::DBI::Column classes inherit this interface.

METHODS

    input_filters

Returns array of the input filters, if arguments list is not empty then set input filter.

    output_filters

Deals similar with list of output filters, but unless you defined own list returns reversed list of the input filters. In common situation you don’t need to define own list of output filters, but use this method to get default list based on the input list.

    filters FILTERS

Sets the input and output filters at the same time. Returns a hash, with keys input and output, whose values are array references to the respective lists.

SEE ALSO

Jifty::DBI::Filter
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JIFTY::DBI::HASFILTERS (3) 2014-05-29

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