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

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

Serving Software Downloads in 956 Categories, Downloaded 50.173.666 Times

OpenInteract::Template::Plugin 1.62

  Date Added: March 17, 2010  |  Visits: 837

OpenInteract::Template::Plugin

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 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_info.name %] 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 = d.day, 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 / test.total %] 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
USER REVIEWS
More Reviews or Write Review


OPENINTERACT::TEMPLATE::PLUGIN RELATED
Libraries  -  Object::Realize::Later 0.16
Object::Realize::Later is a Perl module with delayed creation of objects. SYNOPSIS package MyLazyObject; use Object::Realize::Later becomes => MyRealObject, realize => load; The Object::Realize::Later class helps with implementing...
10.24 KB  
Libraries  -  Rose::Object::MakeMethods::Generic 0.84
Rose::Object::MakeMethods::Generic is a Perl module that can create simple object methods. SYNOPSIS package MyObject; use Rose::Object::MakeMethods::Generic ( scalar => [ power, error, ], scalar --get_set_init => name, boolean...
28.67 KB  
Libraries  -  Object::Relation::DataType 0.1.0
Object::Relation::DataType is a Perl module with complex data types for TKP. The Object::Relation::DataType name space is set aside for the creation of complex data types for TKP. By "complex" I mean serializable objects, such as dates,...
235.52 KB  
Libraries  -  Games::Object 0.11
Games::Object is a Perl module to provide a base class for game objects. SYNOPSIS package MyGameObject; use Games::Object; use vars qw(@ISA); @ISA = qw(Games::Object); sub new { # Create object my $proto = shift; my $class =...
84.99 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  -  Locale::Object::Language 0.75
Locale::Object::Language Perl module contains language information objects. Locale::Object::Language allows you to create objects containing information about languages such as their ISO codes, the countries theyre used in and so on. SYNOPSIS...
47.1 KB  
Libraries  -  Object::Relation::Meta::Attribute::Schema 0.1.0
Object::Relation::Meta::Attribute::Schema is a Perl module for Object::Relation database store builder. Synopsis # Assuming MyThingy was generated by Object::Relation::Meta and that were building # a data store schema. my $class =...
235.52 KB  
Libraries  -  Flash::FLAP::Object 0.09
Flash::FLAP::Object is a Perl module translated from PHP Remoting v. 0.5b from the -PHP project. Package used for building and retreiving header and body information. Installation: 1a. If you have access to Macromedia Flash MX, load the...
440.32 KB  
Libraries  -  File::Basename::Object 0.01
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename. SYNOPSIS my $file = File::Basename::Object->new("/path/to/a/file.html", ".htm", ".html"); if(open(my $fh, <, $file)) { print "Now reading ",...
4.1 KB  
Libraries  -  Object::Declare 0.13
Object::Declare is a Perl module for declarative object constructor. SYNOPSIS use Object::Declare [MyApp::Column, MyApp::Param]; my %objects = declare { param foo => !is global, is immutable, valid_values are qw( more values ); column...
27.65 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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