Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.882.864 Times

Maypole::Plugin::QuickTable 0.422

  Date Added: August 27, 2010  |  Visits: 489

Maypole::Plugin::QuickTable

Report Broken Link
Printer Friendly Version


Product Homepage
Download (77 downloads)



Maypole::Plugin::QuickTable is a HTML::QuickTable convenience. SYNOPSIS use Maypole::Application qw( LinkTools QuickTable ); METHODS setup quick_table Returns a HTML::QuickTable object for formatting data. print $request->quick_table( %args )->render( $data ); The method gathers arguments from the quicktable_defaults method on the model class. This is a Class::Data::Inheritable method, so you can set global defaults on the main model class, and then override them in model subclasses. To preserve most settings and override others, say something like $sub_model->quicktable_defaults( { %{ $model->quicktable_defaults }, %hash_of_overrides } ); Arguments passed in the method call override those stored on the model. Arguments are passed directly to HTML::QuickTable->new, so see HTML::QuickTable for a description. Additional arguments are: object => a Maypole/CDBI object Pass a Maypole/CDBI object in the object slot, and its data will be extracted and $qt->render called for you: print $request->quick_table( %args, object => $object ); Related objects will be displayed as links to their view template. If no object is supplied, a HTML::QuickTable object is returned. If an object is supplied, it is passed to tabulate to extract its data, and the data passed to the render method of the HTML::QuickTable object. To render a subset of an objects columns, say: my @data = $request->tabulate( objects => $object, with_colnames => 1, fields => [ qw( foo bar ) ] ); $request->quick_table( @data ); tabulate( $object|$arrayref_of_objects, %args ) Extract data from a Maypole/CDBI object (or multiple objects), ready to pass to quick_table->render. Data will start with a row of column names if $args{with_colnames} is true. A callback subref can be passed in $args{callback}. It will be called in turn with each object as its argument. The result(s) of the call will be added to the row of data for that object. See the list template in Maypole::FormBuilder, which uses this technique to add edit and delete buttons to each row. Similarly, a field_callback coderef will be called during rendering of each field, receiving the object and the current field as arguments. See the addmany template for an example. Arguments: callback coderef field_callback coderef with_colnames boolean fields defaults to ( $request->model_class->display_columns, $request->model_class->related ) objects defaults to $request->objects orderby_link( $field, [ $model_class ] ) Build a link for a column header. Controls whether the table should be sorted by that column. Toggles sort direction. The $model_class parameter is only necessary when building a table for a class different from the current model class for the request..

Requirements: No special requirements
Platforms: Linux
Keyword: Cdbi Data Defaults Html Libraries Maypolepluginquicktable Model Object Objects Programming Quicktable Table Will Be
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


MAYPOLE::PLUGIN::QUICKTABLE RELATED
Programming  -  GNU Sather 1.2.3 / 1.3 Beta 7
GNU Sather is an object-oriented programming language designed to be simple, efficient and safe. This application aims to be appropriate for use in teaching, research, and industry. It was originally based on Eiffel but now incorporates ideas...
5.3 MB  
Development Tools  -  Scriptol 7.0
Scriptol is a modern, object-oriented programming language designed to be simple and safe. Scriptol should improve development speed greatly, and make programming a real pleasure. Scriptol is the first programming language to use Xml as dynamic,...
 
Programming  -  LavaPE 0.8.4
LavaPE is a programming environment for the experimental object-oriented programming language Lava. It replaces text editing with structure editing, thereby preventing all syntactic and many semantic errors. The pure point-and-click nature of...
1.2 MB  
Programming  -  The Qu Programming Language 1.21.10
Qu is a powerful full-featured object oriented programming language. It is an Open Source software. The Qu Programming Language is absolutely free (as in free lunch) and distributed under the GNU General Public License (GPL). Qu is inspired by...
1.3 MB  
Programming  -  Scriptol Compilers 6.2
Scriptol is an object oriented programming language designed to deliver the programmer from hardware or software constraints and let him or her concentrate only on the problem to formulate as a program. Scriptol Compilers is universal, and...
1.6 MB  
Development Tools  -  What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples 1.0
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files...
112.64 KB  
Programming  -  The Complex Language 0.1
The Complex Language project is an object oriented programming language intended for scripting or rapid prototyping of applications. The design goals were to have very few simple but powerful concepts and to be easy to use and easy to learn. The...
133.12 KB  
Network & Internet  -  Grail 0.6
Grail is an extensible Internet browser written entirely in the interpreted object-oriented programming language Python. It runs on Unix, Windows and Macintosh. Grail is easily extended to support new protocols or file formats. Grail is...
378.88 KB  
Libraries  -  File::Wildcard 0.10
File::Wildcard is a Perl module for enhanced glob processing. SYNOPSIS use File::Wildcard; my $foo = File::Wildcard->new(path => "/home/me///core"); while (my $file = $foo->next) { unlink $file; } When looking at how various operating...
23.55 KB  
Games  -  Backgammon A 08.22
How to Play Backgammon The object of the game is to be the first to get all your checkers off the board. Playing the Backgammon gameSteps: 1. Set up the backgammon board.2. Sit opposite your opponent with the board between you. 3. Throw a single...
20.48 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB