Download the PHP package drupal-eca-recipe/eca_lib_0004 without Composer
On this page you can find all versions of the php package drupal-eca-recipe/eca_lib_0004. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download drupal-eca-recipe/eca_lib_0004
More information about drupal-eca-recipe/eca_lib_0004
Files in drupal-eca-recipe/eca_lib_0004
Download drupal-eca-recipe/eca_lib_0004
More information about drupal-eca-recipe/eca_lib_0004
Files in drupal-eca-recipe/eca_lib_0004
Vendor drupal-eca-recipe
Package eca_lib_0004
Short Description Demonstrates how to express an if/elseif/else decision in an ECA model, the pattern people usually reach for when they want a PHP switch statement. ECA has neither a switch construct nor a working exclusive gateway, so the model uses the sentinel-default idiom instead: it assigns the default value up front, lets a matching branch overwrite it, and then, one hop downstream, tests whether the value is still the default in order to detect that nothing matched. Along the way it demonstrates the four-links-to-one-target OR idiom, in which several conditioned links leaving the same predecessor point at the same successor, so that any one of them is enough to run it.
License GPL-2.0-or-later
Package eca_lib_0004
Short Description Demonstrates how to express an if/elseif/else decision in an ECA model, the pattern people usually reach for when they want a PHP switch statement. ECA has neither a switch construct nor a working exclusive gateway, so the model uses the sentinel-default idiom instead: it assigns the default value up front, lets a matching branch overwrite it, and then, one hop downstream, tests whether the value is still the default in order to detect that nothing matched. Along the way it demonstrates the four-links-to-one-target OR idiom, in which several conditioned links leaving the same predecessor point at the same successor, so that any one of them is enough to run it.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package eca_lib_0004
All versions of eca_lib_0004 with dependencies
PHP Build Version
Package Version
Requires
drupal/eca Version
*
drupal/modeler_api Version *
drupal-eca-recipe/article_content_type Version *
drupal/modeler_api Version *
drupal-eca-recipe/article_content_type Version *
The package drupal-eca-recipe/eca_lib_0004 contains the following files
Loading the files please wait ...