1Padre::DB::Session(3) User Contributed Perl DocumentationPadre::DB::Session(3)
2
3
4
6 Padre::DB::Session - db table keeping known padre sessions
7
9 my @sessions = Padre::DB::Session->select;
10
12 This class allows storing in Padre's database the session that Padre
13 knows. This is useful in order to quickly restore a given set of
14 files.
15
16 This is the primary table, you also need to check
17 "Padre::DB::SessionFiles".
18
20 Accessors
21 The following accessors are automatically created by "ORLite":
22
23 id()
24 name()
25 description()
26 last_update()
27
28 Auto-generated class methods
29 The following subs are automatically created by "ORLite". Refer to
30 "ORLite" for more information on them:
31
32 select()
33 count()
34 new()
35 create()
36 insert()
37 delete()
38 truncate()
39
40 Class methods
41 my $session = last_padre_session()
42 Return a "Padre::DB::Session" object pointing to last Padre
43 session. If none exists, a new one will be created and returned.
44
45 Instance methods
46 my @files = $session->files()
47 Return a list of files ("Padre::DB::SessionFile" objects)
48 referenced by current $session.
49
51 Copyright 2008-2010 The Padre development team as listed in Padre.pm.
52
53 This program is free software; you can redistribute it and/or modify it
54 under the same terms as Perl itself.
55
56 The full text of the license can be found in the LICENSE file included
57 with this module.
58
59
60
61perl v5.12.1 2010-06-11 Padre::DB::Session(3)