Coding with SPIP 2.1
SPIP 2.1 Technical Documentation

> > > Argument

Argument

In programming, the term "argument" is used for content passed when making a function or procedure call. Functions can use several arguments. Arguments can be the results of other calculations. We differentiate "arguments" (the input data) from "parameters" (what the function receives). In PHP we have:

  1. function_name('argument', $argument, ...);
  2. function_name($x + 4, $y * 2); // 2 calculated arguments are sent.

Download

And in SPIP, for tags and filters:

  1. #TAG{argument, argument, ...}
  2. [(#TAG|filter{argument, argument})]

Download

  • Author :
  • Published :
  • Updated : 02/06/10
  • Translations : English, français