9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am new to linux. I am using more command to view the contents of a file. If the file has many pages i am using f to move forward to the next page.
But when i press f it skips to two pages instead of one page. i checked the man more.
It shows the default is 1. Please share your... (1 Reply)
Discussion started by: nokiak810
1 Replies
2. Programming
Dear colleagues,
One of my friend have a problem with c code. While compiling a c program it displays a message like
"array type has incomplete element type". Any body can provide a solution for it.
Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies
3. Shell Programming and Scripting
Can one string type variable changed into the date type variable. (1 Reply)
Discussion started by: rinku
1 Replies
4. UNIX for Dummies Questions & Answers
okay.. have monitored that the page out/h max and avg have been 0 for one week. is this possible...? huge applications will have swap space being utilised ... so i am suprised that for one whole week, it has actually been zero
please advise
thanks (1 Reply)
Discussion started by: yls177
1 Replies
5. UNIX for Dummies Questions & Answers
Hi folks,
I want to know all the commands for which man pages are available. How do i get it?
Cheers,
Nisha (4 Replies)
Discussion started by: Nisha
4 Replies
6. UNIX for Advanced & Expert Users
hi,
plz tell me, how can get the inactive pages in HP UX.
bye.... (1 Reply)
Discussion started by: venkat_t
1 Replies
7. UNIX for Advanced & Expert Users
hi,
can any body tell, what are wired pages in HP_UX.
which structure contains that and plz tell the corresponding
system call to get it. (1 Reply)
Discussion started by: venkat_t
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I've written now a man pages, but I don't knwo how to get 'man' to view them. Where have I to put this files, which directories are allowed??
THX Bensky (3 Replies)
Discussion started by: bensky
3 Replies
9. UNIX for Dummies Questions & Answers
Hello ,
I just installed openssh in my system . I actually tried to man sshd but it says no entry , though there is a man directory in the installation which have the man pages for sshd .
Can anyone tell me how should i install these man pages .
DP (2 Replies)
Discussion started by: DPAI
2 Replies
Jifty::Collection(3pm) User Contributed Perl Documentation Jifty::Collection(3pm)
NAME
Jifty::Collection - Collection of Jifty::Record objects
SYNOPSIS
package Foo::Model::BarCollection
use base qw/Jifty::Collection/;
DESCRIPTION
This is a wrapper over Jifty::DBI::Collection that at the same time is a Jifty::Object. To use it, subclass it.
Alternatively, an 'anonymous' collection can be made by creating a new "Jifty::Collection" object, and calling
"record_class('Application::Model::Foo')" or similar on it.
In addition, each Jifty::Collection includes a Data::Page object to help with calculations related to paged data. You should not call the
"first_row" and "rows_per_page" methods from Jifty::DBI::Collection on a Jifty::Collection. Instead, if you'd like to use paging, you
should use the "set_page_info" method to set the number of records per page and first record on the current page, and you should use the
Data::Page object returned by the "pager" method to get information related to paging.
MODEL
pager
Returns a Data::Page object associated with this collection. This object defaults to 10 entries per page. You should use only use
Data::Page methods on this object to get information about paging, not to set it; use "set_page_info" to set paging information.
results_are_readable
If your results from the query are guaranteed to be readable by current_user, you can create the collection with "results_are_readable =>
1". This causes check_read_rights to bypass normal current_user_can checks.
as_search_action PARAMHASH
Returns the Jifty::Action::Record::Search action for the model associated with this collection.
The PARAMHASH allows you to add additional parameters to pass to "new_action" in Jifty::Web.
add_record
If "results_are_readable" is false, only add records to the collection that we can read (by checking "check_read_rights" in Jifty::Record).
Otherwise, make sure all records added are readable.
implicit_clauses
Defaults to ordering by the "id" column.
jifty_serialize_format
This returns an array reference of the individual records that make up this collection.
SEE ALSO
Jifty::DBI::Collection, Jifty::Object, Jifty::Record
LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
perl v5.14.2 2010-12-10 Jifty::Collection(3pm)