Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jifty::param(3pm) [debian man page]

Jifty::Param(3pm)					User Contributed Perl Documentation					 Jifty::Param(3pm)

NAME
Jifty::Param - Parameters for Jifty actions DESCRIPTION
Describes a parameter to a "Jifty::Action" object. Do not construct this by hand -- use Jifty::Param::Schema in the action package to declare parameters instead. accessors Although this class is not derived from Jifty::Web::Form::Field, it does share the accessors from it; see Jifty::Web::Form::Field, for the list of possible keys that each parameter can have. In addition to the list there, you may use these additional keys: constructor A boolean which, if set, indicates that the argument must be present in the "arguments" passed to create the action, rather than being expected to be set later. Defaults to false. valid_values An array reference. Each element should be either: o A hash reference with a "display" field for the string to display for the value, and a "value" field for the value to actually send to the server. o A hash reference with a "collection" field containing a Jifty::Collection, and "display_from" and "value_from" fields containing the names of methods to call on each record in the collection to get "display" and "value". o A simple string, which is treated as both "display" and "value". available_values Just like valid_values, but represents the list of suggested values, instead of the list of acceptable values. sort_order An integer of how the parameter sorts relative to other parameters. This is usually implicitly generated by its declaration order. new Creates a new Jifty::Param object. Note that unlike Jifty::Web::Form::Field, the object is never magically reblessed into a subclass. Should only be called implicitly from a Jifty::Param::Schema declaration. perl v5.14.2 2010-09-25 Jifty::Param(3pm)

Check Out this Related Man Page

Jifty::Web::Session::None(3pm)				User Contributed Perl Documentation			    Jifty::Web::Session::None(3pm)

NAME
Jifty::Web::Session::None - A null session handler for jifty DESCRIPTION
Jifty depends on its sessions to keep users logged in, to store continuations and to allow developers to store user-specific data. In general, you don't want to disable them. But sometimes, the development benefits of Jifty lead you to build applications that genuinely don't want per-user sessions. That's where "Jifty::Web::Session::None" comes in. By specifying that you want to use "Jifty::Web::Session::None" as your Jifty session handler, you tell Jifty to avoid ever reading, writing or storing a user session. No cookies get set. Nothing gets stored in the database. USAGE
In your "etc/config.yml": --- framework: Web: SessionClass:: Jifty::Web::Session::None METHODS
All methods in this class are dummy methods which do no work. This class mocks the API provided by "Jifty::Web::Session". new Takes no arguments. Returns a Jifty::Web::Session::None. id Returns false. create Returns true. load Returns true. unload Returns true. loaded Returns true. get Returns false. set Returns false. remove Returns true. set_continuation Returns false. get_continuation Returns false. remove_continuation Returns false. continuations Returns false. set_cookie Returns false. cookie_name Returns false. expires Returns false. perl v5.14.2 2010-09-25 Jifty::Web::Session::None(3pm)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Little Trouble Understanding some code...

Couple of questions as I try to decipher someones code who left... What would something coded like this do? IFS=: grep FIELD1 /Path/Path2/Param.fle | read LBL1 LBL2 USRID EADR SUBJ SERVERNAME CFGTBL DIR ERR=0 Param.fle contents.. FIELD1:FEI::FIELD2:dATAFIELD BATCH:MAIN SERVER......etc.. (2 Replies)
Discussion started by: NycUnxer
2 Replies

2. Programming

c++ object constructor question

I have the following code class Param{ public: Param(int aa, int bb){ a=aa; b=bb; } int a,b; }; void function(Param); int main(){ function(2,3); return 0; } (6 Replies)
Discussion started by: santiagorf
6 Replies

3. Linux

Shell Script to generate Dynamic Param file Using SQL Plus Quey

Hi All, Can anyone give me Shell script sample script to generate Param file by Reading Values from SQL Plus query and it should assign those values to variables like.. $$SChema_Name='ORCL' Thanks in Advance... Srav... (4 Replies)
Discussion started by: Sravana Kumar
4 Replies

4. Shell Programming and Scripting

Script to parse and update a parameter file

Dear All- My requirement is as below, need your inputs please 1] I have a file name Param.txt which contains the below data #GLOBAL# PARAM_VALUE=N ............. ............ CTRY=UK ......... 2] Next, I want to write a script which will check for some condition (lets assume... (1 Reply)
Discussion started by: sureshg_sampat
1 Replies