Changeset 678

Show
Ignore:
Timestamp:
07/16/02 19:36:26
Author:
miyagawa
Message:

documentation fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PHP-Session/trunk/Changes

    r677 r678  
    11Revision history for Perl extension PHP::Session 
     2 
     30.13  Tue Jul 16 19:35:58 JST 2002 
     4        - improved documentation 
    25 
    360.12  Tue Jul 16 17:04:46 JST 2002 
  • PHP-Session/trunk/lib/PHP/Session.pm

    r676 r678  
    33use strict; 
    44use vars qw($VERSION); 
    5 $VERSION = '0.12'; 
     5$VERSION = '0.13'; 
    66 
    77use vars qw(%SerialImpl); 
     
    169169which you can make your Perl application session shared with PHP4. 
    170170 
     171If you like Apache::Session interface for session management, there is 
     172a glue for Apache::Session of this module, Apache::Session::PHP. 
     173 
     174=head1 OPTIONS 
     175 
     176Constructor C<new> takes some options as hashref. 
     177 
     178=over 4 
     179 
     180=item save_path 
     181 
     182path to directory where session files are stored. default: C</tmp>. 
     183 
     184=item serialize_handler 
     185 
     186type of serialization handler. Currently only PHP default 
     187serialization is supported. 
     188 
     189=item create 
     190 
     191whether to create session file, if it's not existent yet. default: 0 
     192 
     193=back 
     194 
    171195=head1 NOTES 
    172196 
     
    180204 
    181205Objects in PHP are restored as objects blessed into 
    182 PHP::Session::Object (Null class). 
     206PHP::Session::Object (Null class) and original class name is stored in 
     207C<_class> key. 
    183208 
    184209=item * 
     
    189214=item * 
    190215 
    191 Not tested so much, thus there may be a lot of bug in 
     216Not tested so much, thus there may be some bugs in 
    192217(des|s)erialization code. If you find any, tell me via email. 
    193218 
  • PHP-Session/trunk/lib/PHP/Session/Serializer/PHP.pm

    r676 r678  
    55 
    66use vars qw($VERSION); 
    7 $VERSION = '0.12'; 
     7$VERSION = '0.13'; 
    88 
    99sub _croak { require Carp; Carp::croak(@_) }