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 30.151.699 Times

OpenInteract::Template::Plugin 1.62

  Date Added: March 17, 2010  |  Visits: 593


Report Broken Link
Printer Friendly Version

Product Homepage
Download (74 downloads)

OpenInteract::Template::Plugin is a Perl module with custom OpenInteract functionality in templates. SYNOPSIS # Create the TT object with the OI plugin my $template = Template->new( PLUGINS => { OI => OpenInteract::Template::Plugin }, ... ); my ( $output ); $template->process( package::template, %params, $output ); # In the template (brief examples, see below for more) [% OI.show_all_actions.join( "n" ) -%] [% OI.comp( error_display, error_msg = error_msg ) -%] [% OI.box_add( contact_tools_box, title = Contact Tools, weight = 2 ) -%] [% object_info = OI.object_description( object ) %] This is a [% %] object. Is the object in the class? [% OI.class_isa( object, SPOPS::DBI ) ? yes : no %] Today is [% OI.date_format( now, %Y-%m-%e %l:%M %p ) %] the [% OI.date_format( now, %j ) %] day of the year [% d = OI.date_into_object( object.updated_on ) -%] [% OI.comp( date_select, month_value = d.month, day_value =, year_value = d.year, blank = 1, field_prefix = updated_on ) -%] [% OI.limit_string( object.description, 30 ) %] var person_last_name = [% OI.javascript_quote( person.last_name ) %]; [% matched = OI.regex_chunk( It was the best of times, it was the blurst of times., (blurst.*) ) %] [% OI.limit_sentences( news.news_item, 3 ) %] [% score = grade.score / %] Your grade is: [% OI.percent_format( score ) %] You have [% OI.money_format( account.balance ) %] left to spend. Hello [% OI.uc_first( person.first_name ) %] [% OI.html_encode( news.news_item ) %] Item: [% OI.html_decode( news.news_item ) %] [% edit_url = OI.make_url( base = /User/show/, user_id = OI.login.user_id, edit = 1, show_all = yes ) %] [% theme = OI.theme_properties %] Background color of page: [% theme.bgcolor %] [% new_theme = OI.theme_fetch( 5 ) %] Background color of page from other theme: [% new_theme.bgcolor %] [% IF OI.logged_in -%] Hello [% OI.login.full_name %]. Your groups are: [% OI.login_group.join( , ) -%] [% ELSE -%] You are not logged in. [% END -%] Your last search: [% OI.session.latest_search %] [% IF OI.error_hold.myapp.field_out_of_bounds %] The entry you made is out of bounds: [% OI.error_hold.myapp.field_out_of_bounds %] [% END %] [% IF object.tmp_security_level >= OI.security_level.write -%] you can edit this object! [% END %].

Requirements: No special requirements
Platforms: Linux
Keyword: Custom End Functionality If Libraries Name Object Oi Date Openinteract Openinteracttemplateplugin Perl Perl Module Programming
Users rating: 0/10

License: Freeware Size: 655.36 KB
Libraries  -  OpenInteract2::TT2::Plugin 1.99_06
OpenInteract2::TT2::Plugin is a Perl module for custom OpenInteract functionality in templates. SYNOPSIS # Create the TT object with the OI plugin my $template = Template->new( PLUGINS => { OI => OpenInteract2::TT2::Plugin }, ... ); my (...
931.84 KB  
Libraries  -  Object::Trampoline 1.25
Object::Trampoline is a Perl module for delay object construction, and optionally using the class module, until a method is actually dispatched, simplifies runtime definition of handler classes. SYNOPSIS # adding "use_class" will perform an...
9.22 KB  
Productivity  -  This Phone is Mine!
--version history at bottom... How will you get your phone back if you lose it? If it's PIN locked, there's no way to know whose it is. Create a custom lockscreen wallpaper with your name and photo on it so people can see at a glance who you...
1024 KB  
Libraries  -  ASNMTAP::Asnmtap::Plugins::SOAP 3.000.010
ASNMTAP::Asnmtap::Plugins::SOAP is a Perl module that provides SOAP functions used by ASNMTAP-based plugins. SYNOPSIS use ASNMTAP::Asnmtap::Plugins v3.000.010; use ASNMTAP::Asnmtap::Plugins qw(:PLUGINS); my $objectPlugins =...
1.6 MB  
Libraries  -  OpenInteract2::Datasource::DBI 1.99_06
OpenInteract2::Datasource::DBI is a Perl module that can create DBI database handles. SYNOPSIS # Define the parameters for a database handle main using PostgreSQL [datasource main] type = DBI dbi_type = Pg dsn = dbname=urkelweb username...
931.84 KB  
Libraries  -  Math::Vec 1.01
Math::Vec is a Object-Oriented Vector Math Methods in Perl. SYNOPSIS use Math::Vec; $v = Math::Vec->new(0,1,2); or use Math::Vec qw(NewVec); $v = NewVec(0,1,2); @res = $v->Cross([1,2.5,0]); $p = NewVec(@res); $q = $p->Dot([0,1,0]);...
10.24 KB  
File Management  -  File Subclass 1.0
If the 'file' object looks for a '.filename.pkl' file which contains the seek offset of the previous end of the file, then this subclass sets the seek offset to that number before returning the file.On closing the file or StopIteration, it writes...
Productivity  -  Meeting Cost Meter
Have you ever been in one of those meetings that just does not seem to want to end? Maybe if someone knew what the cost of a meeting running off the tracks was costing the company it would be brought under control. Now there is a fast and easy way...
2 MB  
Code Management Tools  -  ubuildinit 0.2.0
ubuildinit is a utility for use with micro window-gadgets (UWG) that generates C source and header files from XML descriptions of visual interfaces. Interfaces are described using XHPD, an XML-based hierarchical program description. Micro WG...
143.36 KB  
Libraries  -  perlrpcgen 0.71
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl...
37.89 KB  
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, 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.12.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