From b8fd72271c6dfb18fb5ebc4fe144d4e0eb8a4d66 Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Sat, 15 Sep 2018 20:46:57 +0200 Subject: [PATCH] Created The getInput function (markdown) --- The-getInput-function.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 The-getInput-function.md diff --git a/The-getInput-function.md b/The-getInput-function.md new file mode 100644 index 0000000..6bd5d2f --- /dev/null +++ b/The-getInput-function.md @@ -0,0 +1,7 @@ +The `getInput` function is used to receive a value for a parameter, specified in `const PARAMETERS` + +```PHP +$this->getInput('your input name here'); +``` + +`getInput` will either return the value for your parameter or `null` if the parameter is unknown or not specified. \ No newline at end of file