QueryString
[mdref/mdref-http] / http / QueryString / getBool.md
diff --git a/http/QueryString/getBool.md b/http/QueryString/getBool.md
new file mode 100644 (file)
index 0000000..4edf2b9
--- /dev/null
@@ -0,0 +1,17 @@
+# bool http\QueryString::getBool(string $name[, mixed $defval = NULL[, bool $delete = false)
+
+Retrieve a boolean value at offset $name.
+
+## Params:
+
+* string $name  
+  The key to look up.
+* Optional mixed $defval = NULL  
+  The default value to return if the offset $name does not exist.
+* Optional bool $delete = false  
+  Whether to remove the key and value from the querystring after retrieval.
+  
+## Returns:
+
+* bool, the (casted) value.
+* mixed, $defval if offset $name does not exist.