Scroll to navigation

WebCommon.incomingKeys(3kaya) Kaya module reference WebCommon.incomingKeys(3kaya)

NAME

WebCommon::incomingKeys - Return keys for user-supplied data

SYNOPSIS

[String] incomingKeys( DataSource ds )

ARGUMENTS

ds The source for user-supplied data

DESCRIPTION

Returns all keys (in no particular order) with at least one value for the specified WebCommon.DataSource (3kaya)

// called with ?a=1;b=2;b=5
keys = incomingKeys(DataGet);
// keys = ["a","b"] or ["b","a"]

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

WebCommon.DataSource (3kaya)
WebCommon.incomingData (3kaya)
WebCommon.incomingExists (3kaya)
WebCommon.incomingValue (3kaya)
August 2014 Kaya