Jifty::Plugin::AutoReference.3pm

Langue: en

Autres versions - même langue

Version: 2007-12-26 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::Plugin::AutoReference - a plugin to provide a special reference completer

SYNOPSIS

Add this to your config.yml:
   Plugins:
    - AutoReference: {}
 
 

and then this to your models:

   use MyApp::Record schema {
       column employer =>
           references MyApp::Model::Company,
           label is 'Employer',
           is AutoReference,
           ;
   };
 
 

DESCRIPTION

Provides a special autocompletion widget for reference columns. See Jifty::Plugin::AutoReference::Widget.

METHODS

init

Adds the autoreference.js file to the JavaScript files to send to the browser.

AUTHORS

Andrew Sterling Hanenkamp "<hanenkamp@cpan.org>" Copyright 2007 Boomer Consulting, Inc. All Rights Reserved.

This program is free software and may be modified and distributed under the same terms as Perl itself.