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
Badger::Data::Facet::Class(3) User Contributed Perl Documentation Badger::Data::Facet::Class(3)
 

Badger::Data::Facet::Class - metaprogramming module for data facet classes

    package Badger::Data::Facet::Text::Example;
    use Badger::Data::Facet::Class
        version   => 0.01,
        type      => 'text',        # base data type
        args      => 'foo bar',     # mandatory arguments
        opts      => 'baz bam';     # optional arguments

This module implements a subclass of Badger::Class for creating data validation facets.

This module implements the following methods in addition to those inherited from the Badger::Class base class.

This method implements the "type" import hook for specifying the base data type for a validation facet.

This method implements the "args" import hook for specifying the mandatory configuration arguments for a validation fact.

This method implements the "opts" import hook for specifying the optional configuration arguments for a validation facet.

Andy Wardley <http://wardley.org/>

Copyright (C) 2008-2012 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Badger::Base, Badger::Data::Facet.
2016-12-12 perl v5.28.1

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

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