Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ledgersmb::locale(3pm) [debian man page]

LedgerSMB::Locale(3pm)					User Contributed Perl Documentation				    LedgerSMB::Locale(3pm)

NAME
LedgerSMB::Locale - Locale handling class for LedgerSMB SYNOPSIS
Locale support module for LedgerSMB. Uses Locale::Maketext::Lexicon as a base. METHODS
get_handle ($language_code) Returns a locale handle for accessing the other methods. Inherited from Locale::Maketext. text ($string, @params) Returns the translation for the given string. This is a legacy wrapper that merely calls $self->maketext. date ($myconfig, $date, $longformat) Returns the given date after formatting it. $longformat is a ternary flag that determines how the date is formatted. If $longformat is true, the date will be given in the form of "_('September') 23 2007". If $longformat is false but defined, the date will be in the form of "_('Sep') 23 2007" unless the date is given in the form 'yyyy.mm.dd', in which case it is returned as-is. If $longformat is not defined, the date will be output in the format specified by $myconfig->{dateformat}. Copyright (C) 2006, The LedgerSMB core team. #==================================================================== # # Locale support module for LedgerSMB # LedgerSMB::Locale # # LedgerSMB # Small Medium Business Accounting software # http://www.ledgersmb.org/ # # # Copyright (C) 2006 # This work contains copyrighted information from a number of sources # all used with permission. It is released under the GNU General # Public License Version 2 or, at your option, any later version. # See COPYRIGHT file for details. # # This file contains source code included with or based on SQL-Ledger # which is Copyright Dieter Simader and DWS Systems Inc. 2000-2005 # and licensed under the GNU General Public License version 2 or, at # your option, any later version. For a full list including contact # information of contributors, maintainers, and copyright holders, # see the CONTRIBUTORS file. # # Original Copyright Notice from SQL-Ledger 2.6.17 (before the fork): # Copyright (C) 2000 # # Author: DWS Systems Inc. # Web: http://www.sql-ledger.org # # Contributors: Thomas Bayen <bayen@gmx.de> # Antti Kaihola <akaihola@siba.fi> # Moritz Bunkus (tex) # Jim Rawlings <jim@your-dba.com> (DB2) # #==================================================================== perl v5.14.2 2012-06-01 LedgerSMB::Locale(3pm)

Check Out this Related Man Page

LedgerSMB::DBObject(3pm)				User Contributed Perl Documentation				  LedgerSMB::DBObject(3pm)

NAME
LedgerSMB::DBObject - LedgerSMB class for building objects from db relations SYOPSIS
This module creates object instances based on LedgerSMB's in-database ORM. METHODS
new ($class, base => $LedgerSMB::hash) This is the base constructor for all child classes. It must be used with base argument because this is necessary for database connectivity and the like. Of course the base object can be any object that inherits LedgerSMB, so you can use any subclass of that. The per-session dbh is passed between the objects this way as is any information that is needed. exec_method ($self, procname => $function_name, [args => @args, schema => $schema, continue_on_error=>$continue_on_error]) Provides the basic mapping of parameters to the SQL stored procedure function arguments. If @args is not defined, args are mapped from the object's properties, stripping them of their in_ prefix. If schema is provided, that is used instead of PostgreSQL's search path. If continue_on_error is provided and true, the operation will not raise an exception in the event of a database error, and it will be up to the application to handle any exceptions. __validate__ is called on every new() invocation. It is blank in this module but can be overridden in decendant modules. _db_array_scalars(@elements) creates a db array from scalars. _db_array_literal(@elements) creates a multiple dimension db array from preparsed db arrays or other data which does not need to be escaped. set_ordering Sets the ordering used by default for specific functions called by exec_method run_custom_queries Backward-compatible with 1.2 custom query system for moving forward. Copyright (C) 2007, The LedgerSMB core team. This file is licensed under the Gnu General Public License version 2, or at your option any later version. A copy of the license should have been included with your software. perl v5.14.2 2011-12-10 LedgerSMB::DBObject(3pm)
Man Page