Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lire::field(3pm) [debian man page]

Field(3pm)						  LogReport's Lire Documentation						Field(3pm)

NAME
Lire::Field - Interface to Dlf field's specification. SYNOPSIS
my $field = $schema->field( 'time' ); print "Name: ", $field->name(), " ", "Type: ", $field->type(), " "; DESCRIPTION
This module represents Dlf field's specifications. You'll get reference to this kind of object when you call the field(), timestamp_field() or fields() methods on a Lire::DlfSchema(3pm) object. You can obtain information about this field by querying its methods. OBJECT METHODS
name() Returns the name of the field. label() Returns the default label that should be used for column containing values from this field. pos() Returns the field's position in the record. Field's positions are indexed from 0. type() Returns the field's type. This will be a string describing the type's name as used in the XML specifications. sql_type() Returns the SQL type that should be used to hold this field's values. default() This method is obsolete since field don't have default anymore. description() This method will return the field's description. (This is the content of the description element in the XML specification.) Be aware that this will most likely contains DocBook markup. SEE ALSO
Lire::DlfSchema(3pm) Lire::DataTypes(3pm) AUTHORS
Francis J. Lacoste <flacoste@logreport.org> Wolfgang Sourdeau <wolfgang@logreport.org> VERSION
$Id: Field.pm,v 1.18 2006/07/23 13:16:29 vanbaal Exp $ COPYRIGHT
Copyright (C) 2001-2004 Stichting LogReport Foundation LogReport@LogReport.org This file is part of Lire. Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html. Lire 2.1.1 2006-07-23 Field(3pm)

Check Out this Related Man Page

DlfResult(3pm)						  LogReport's Lire Documentation					    DlfResult(3pm)

NAME
Lire::DlfResult - interface with the database handler for returned data SYNOPSIS
use Lire::DlfResult; DESCRIPTION
new( $query, $sql ) This is the constructor method for the Lire::DlfResult class. It takes a Lire::DlfQuery object and an SQL statement string as parameters. This method should never be called directly. Lire::DlfQuery will return appropriate instances of Lire::DlfResult through its execute() and execute_summary() methods. dlf_query() Returns the DlfQuery object from which this DlfResult was obtained. next_row() Returns the "next row" of an executed query, that is, the first record down the last one incrementally. Returns an undefined value if called after all the records where returned and dies on subsequent calls. The record is returned as a HASH reference. next_row_aref() Same as next_row() except that the record is returned as an ARRAY reference. SEE ALSO
Lire::DlfQuery(3pm) AUTHOR
Francis J. Lacoste <flacoste@logreport.org> Wolfgang Sourdeau <wolfgang@logreport.org> VERSION
$Id: DlfResult.pm,v 1.12 2006/07/23 13:16:28 vanbaal Exp $ COPYRIGHT
Copyright (C) 2003 Stichting LogReport Foundation LogReport@LogReport.org This file is part of Lire. Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html. Lire 2.1.1 2006-07-23 DlfResult(3pm)
Man Page