Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbix::dbstag::constraint(3pm) [debian man page]

DBIx::DBStag::Constraint(3pm)				User Contributed Perl Documentation			     DBIx::DBStag::Constraint(3pm)

NAME
DBIx::DBStag::Constraint - recursive structure for representing query constraints SYNOPSIS
DESCRIPTION
A constraint is a recursive structure for representing query constraints; AND --- x=1 ---- OR --- y>2 ----- boolfunc(z) A constraint is either a bool (AND, OR, NOT) with >0 children, or it can be a leaf node representing an atomic constraint the constraint corresponds to a SQLTemplate option block; eg [ name LIKE &name& ] [ name => &name& ] [ start > &min_start& ] [ start => &start& ] [ somefunc(&x&) ] [ somefunc(&x&, &y&) ] [ somefunc(t.col, &x&, &y&) => &z& ] the constraint consists of an operator (represented by => in the option block). If no => is present, then it is a simple variable binding. A constraint can consist of multiple variable bindings WEBSITE
<http://stag.sourceforge.net> AUTHOR
Chris Mungall <cjm@fruitfly.org> COPYRIGHT
Copyright (c) 2003 Chris Mungall This module is free software. You may distribute this module under the same terms as perl itself perl v5.12.4 2011-10-14 DBIx::DBStag::Constraint(3pm)

Check Out this Related Man Page

HTML::Widget::Constraint(3pm)				User Contributed Perl Documentation			     HTML::Widget::Constraint(3pm)

NAME
HTML::Widget::Constraint - Constraint Base Class SYNOPSIS
my $c = $widget->constraint( $type, @names ); $c->message('Validation error.'); $c->names(@names); $c->not(1); DESCRIPTION
Constraint Base Class. METHODS
default_message Arguments: $message Return Value: $message Default error message for failing constraints. init Arguments: $widget Called once when process() gets called for the first time. javascript Arguments: $id Should return JavaScript for client side validation and the like. msg message Arguments: $message Contains the validation error message. mk_message Arguments: $message Returns a validation error message. names Arguments: @names Return Value: @names Contains names of params to test. not Arguments: $bool Return Value: $bool Negate constraint. prepare Arguments: $widget Called every time process() gets called. process Arguments: $widget, $params, @uploads Return Value: @errors Validates params and returns a arrayref containing HTML::Widget::Error objects representing failed constraints. process_js Arguments: $id Returns a hashref containing JavaScripts for client side validation and the like. render_errors Arguments: @names A list of element names for which an error should be displayed. If this is not set, the default behaviour is for the error to be displayed for all of the Constraint's named elements. validate Arguments: $value Return Value: $bool Validates a value and returns 1 or 0. AUTHOR
Sebastian Riedel, "sri@oook.de" LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2007-03-01 HTML::Widget::Constraint(3pm)
Man Page