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::Admin(3pm) 			User Contributed Perl Documentation			   LedgerSMB::DBObject::Admin(3pm)

NAME
LedgerSMB::DBObject::Admin - User/group management for LedgerSMB SYNOPSIS
User/group management for LedgerSMB INHERITS
Universal LedgerSMB LedgerSMB::DBObject METHODS
save_user Saves a user optionally with location and contact data. If the password or import hash values is set, will not save contact or address information. This API is not fully documented at this time because it is expected that it will be broken down into more manageable chunks in future versions. Please do not count on the behavior. delete_user($delete_role) Deletes a user specified by $self->{user_id}. if $delete_role is true, deletes the role too. search_users Returns a list of users matching search criteria, and attaches that list to the user_results hash value. Search criteria: username first_name last_name ssn dob Undef matches all values. All matches exact except username which allows for partial matches. list_sessions returns a list of active sessions, when they were last used, and how many discretionary locks they hold. The list is also attached to the active_sessions hash value. No inputs required or used. delete_session Deletes a session identified by the session_id hashref. save_roles Saves the roles assigned to a user. Each role is specified as a hashref true value, where the key is the full name of the role (i.e. starting with lsmb_[dbname]__). get_salutations Returns a list of salutation records from the db for the dropdowns. get_roles Returns a list of role names with the following format: {role => $full_role_name, description => $short_role_name} The short role name is the full role name with the prefix removed (i.e. without the lsmb_[dbname]__ prefix). get_countries Returns a reference to an array of hashrefs including the country data in the db. Sets the same reference to the countries hash value. get_contact_classes Returns a list of hashrefs ({id =>, class =>}) relating to the contact classes. COPYRIGHT
Copyright (c) 2009, the LedgerSMB Core Team. This is licensed under the GNU General Public License, version 2, or at your option any later version. Please see the accompanying License.txt for more information. perl v5.14.2 2012-03-25 LedgerSMB::DBObject::Admin(3pm)
Man Page