Pipelines
Articles
Contextual pipelines
It is often necessary to pass contextual arguments to the pipeline on top of the data returned by the pipeline. This is possible by using a table (…)
Definition
A pipeline is used to make one of SPIP’s standard functions perform different or additional functionality by passing it custom-made functions that (…)
Pipeline
The term pipeline is used within SPIP in the UNIX sense of the word. The pipeline executes a series of functions for which the result of one such (…)
Declaring a new pipeline
The pipeline must first be declared in a global options file like this: $GLOBALS[’spip_pipeline’][’newPipelineName’] = ’’;
The name of this (…)List of current pipelines
The default pipelines defined in SPIP are listed in the file ecrire/inc_version.php. However, plugins are able to create new ones.
There are (…)Using pipelines
To use the pipelines of SPIP or of a plugin, their usage must be explicitly defined in the plugin.xml file: xml name_of_the_pipeline name of (…)