The ONO pipeline feature allows to upload files in an asynchronic way on a static page.
count();
Count the number of files waiting in a user's pipeline.
ONO::ToolBox::PipeLine->count( );
returns: $count
pipeline();
Display the actual pipeline.
-f flat bottom
-B no (save) button
-U upload tool
custom_prefs:
flag_C = 1 reserved (blog comments) flag_D = 1 hide dir selector by default
ONO::ToolBox::PipeLine->pipeline( $db, $community, $targets_ref, $target_selected, $lang, $BLK_ref, $vars_ref, $switches, $custom_prefs_ref );
returns: $PIPE
pipeline_click();
Generate JS code required to display a user pipeline.
ONO::ToolBox::PipeLine->pipeline_click( );
pipeline_wrapper();
Generate the pipeline screen module launcher.
ONO::ToolBox::PipeLine->pipeline_wrapper( $ID, $UPLOAD, $lang );
targets();
Detect possible targets for files that shall leave the pipeline.
ONO::ToolBox::PipeLine->targets( $db, $community, $vars_ref, $sql_ref );