Show
Ignore:
Timestamp:
01/16/08 15:35:32 (5 years ago)
Author:
tokuhirom
Message:

lang/perl/HTML-MobileJp?: added documents.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/HTML-MobileJp/trunk/lib/HTML/MobileJp/Plugin/EZweb/Object.pm

    r4684 r4686  
    3838        _escape( $args{standby} ) 
    3939    ); 
    40     for my $key (qw/disposition size title/) { 
    41         push @ret, _param($key, $args{$key}); 
    42     } 
     40    push @ret, map { _param($_, $args{$_}) } qw/disposition size title/; 
    4341    push @ret, "</object>"; 
    4442 
     
    4745 
    48461; 
     47__END__ 
     48 
     49=for stopwords mobile-jp html TODO CGI ezweb 
     50 
     51=encoding utf8 
     52 
     53=head1 NAME 
     54 
     55HTML::MobileJp::Plugin::EZweb::Object - generate object object download HTML tag. 
     56 
     57=head1 SYNOPSIS 
     58 
     59    use HTML::MobileJp; 
     60    ezweb_object( 
     61        url         => 'http://aa.com/movie.amc', 
     62        mime_type   => 'application/x-mpeg', 
     63        copyright   => 'no', 
     64        standby     => '$B%@%&%s%m!<%I(B', 
     65        disposition => 'devdl1q', 
     66        size        => '119065', 
     67        title       => '$B%5%s%W%kF02h(B', 
     68    ); 
     69    # => 
     70    #   <object data="http://aa.com/movie.amc" type="application/x-mpeg" copyright="no" standby="$B%@%&%s%m!<%I(B"> 
     71    #   <param name="disposition" value="devdl1q" valuetype="data" /> 
     72    #   <param name="size" value="119065" valuetype="data" /> 
     73    #   <param name="title" value="$B%5%s%W%kF02h(B" valuetype="data" /> 
     74    #   </object> 
     75 
     76=head1 DESCRIPTION 
     77 
     78generate object download HTML tag. 
     79 
     80=head1 AUTHOR 
     81 
     82Tokuhiro Matsuno E<lt>tokuhirom aaaatttt gmail dotottto commmmmE<gt> 
     83 
     84=head1 SEE ALSO 
     85 
     86L<HTML::MobileJp>, L<http://www.au.kddi.com/ezfactory/tec/spec/wap_tag5.html> 
     87 
     88=head1 LICENSE 
     89 
     90This library is free software; you can redistribute it and/or modify 
     91it under the same terms as Perl itself. 
     92 
     93=cut