Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e61cd137

Von Moritz Bunkus vor fast 8 Jahren hinzugefügt

  • ID e61cd137aeee9dc354fa29a9d13398200a1baeca
  • Vorgänger 3f89fa90
  • Nachfolger e38b0b21

Testfehler: typische Schreibfehler gefixt

Unterschiede anzeigen:

SL/Controller/DownloadZip.pm
20 20
  # in kivitendo.conf some regex may be defined:
21 21
  # For no values just let it commented out
22 22
  # PA = Produktionsauftrag, L = Lieferschein, ML = Materialliste
23
  # If you want several options, please seperate the letter with '|'. Example: '^(PA|L).*'
23
  # If you want several options, please separate the letter with '|'. Example: '^(PA|L).*'
24 24
  #set_sales_documenttype_for_delivered_quantity = '^(LS).*'
25 25
  #set_purchase_documenttype_for_delivered_quantity = '^(EL).*'
26 26
  #
SL/Controller/File.pm
604 604

  
605 605
=head1 DESCRIPTION
606 606

  
607
This is a controller for handling files in a storage independant way.
607
This is a controller for handling files in a storage independent way.
608 608
The storage may be a Filesystem,a WebDAV, a Database or DMS.
609 609
These backends must be configered in ClientConfig.
610 610
This Controller use as intermediate layer for storage C<SL::File>.
......
619 619
=head2 C<action_list>
620 620

  
621 621
This loads a list of files on a webpage. This can be done with a normal submit or via an ajax/json call.
622
Dependant of file_type different sources are available.
622
Dependent of file_type different sources are available.
623 623

  
624 624
For documents there are the 'created' source and the imports from scanners or email.
625 625
For attachments and images only the 'uploaded' source available.
......
744 744

  
745 745
=head2 C<action_ajax_unimport>
746 746

  
747
Some files can be unimported, dependant of the source of the file. This means they are moved
747
Some files can be unimported, dependent of the source of the file. This means they are moved
748 748
back to the directory of the source
749 749

  
750 750
Available C<FORM PARAMS>:
......
767 767
Martin Helmling E<lt>martin.helmling@opendynamic.deE<gt>
768 768

  
769 769
=cut
770

  
SL/File.pm
356 356
=head1 SYNOPSIS
357 357

  
358 358
  # In a controller or helper ( see SL::Controller::File or SL::Helper::File )
359
  # you can create, remove, delete etc. a file in a backend independant way
359
  # you can create, remove, delete etc. a file in a backend independent way
360 360

  
361 361
  my $file  = SL::File->save(
362 362
                     object_id     => $self->object_id,
......
384 384

  
385 385
=head1 OVERVIEW
386 386

  
387
The Filemanagemt can handle files in a storage independant way. Internal the File
387
The Filemanagemt can handle files in a storage independent way. Internal the File
388 388
use the configured storage backend for the type of file.
389 389
These backends must be configured in L<SL::Controller::ClientConfig> or an extra database table.
390 390

  
......
704 704
Martin Helmling E<lt>martin.helmling@opendynamic.deE<gt>
705 705

  
706 706
=cut
707

  
SL/File/Backend.pm
104 104

  
105 105
=item C<rename PARAMS>
106 106

  
107
The Filename of the file is changed. If the backend is not dependant from the filename
107
The Filename of the file is changed. If the backend is not dependent from the filename
108 108
nothing must happens. The rename must work on all versions of the file.
109 109

  
110 110
Available C<PARAMS>:
......
199 199
Martin Helmling E<lt>martin.helmling@opendynamic.deE<gt>
200 200

  
201 201
=cut
202

  
203

  

Auch abrufbar als: Unified diff