Padre::DB::Session.3pm

Langue: en

Autres versions - même langue

Version: 2010-06-02 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Padre::DB::Session - db table keeping known padre sessions

SYNOPSIS

         my @sessions = Padre::DB::Session->select;
 
 

DESCRIPTION

This class allows storing in Padre's database the session that Padre knows. This is useful in order to quickly restore a given set of files.

This is the primary table, you also need to check "Padre::DB::SessionFiles".

PUBLIC METHODS

Accessors

The following accessors are automatically created by "ORLite":
id()
name()
description()
last_update()

Auto-generated class methods

The following subs are automatically created by "ORLite". Refer to "ORLite" for more information on them:
select()
count()
new()
create()
insert()
delete()
truncate()

Class methods

my $session = last_padre_session()
Return a "Padre::DB::Session" object pointing to last Padre session. If none exists, a new one will be created and returned.

Instance methods

my @files = $session->files()
Return a list of files ("Padre::DB::SessionFile" objects) referenced by current $session.
Copyright 2008-2010 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.