Improved consistency of function names
This commit is contained in:
parent
d120749cde
commit
b8a8b0e258
@ -160,29 +160,29 @@ function hasParam() {
|
|||||||
|
|
||||||
# $1: key
|
# $1: key
|
||||||
# $2: (optional) index for accessing array parameters
|
# $2: (optional) index for accessing array parameters
|
||||||
function queryGet() {
|
function query() {
|
||||||
_multiGet _exprashQuery "$1" "$2"
|
_multiGet _exprashQuery "$1" "$2"
|
||||||
}
|
}
|
||||||
# $1: key
|
# $1: key
|
||||||
function queryHas() {
|
function hasQuery() {
|
||||||
_multiHas _exprashQuery "$1"
|
_multiHas _exprashQuery "$1"
|
||||||
}
|
}
|
||||||
# $1: key
|
# $1: key
|
||||||
function queryLen() {
|
function lenQuery() {
|
||||||
_multiLen _exprashQuery "$1"
|
_multiLen _exprashQuery "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# $1: key
|
# $1: key
|
||||||
# $2: (optional) index for accessing array parameters
|
# $2: (optional) index for accessing array parameters
|
||||||
function bodyGet() {
|
function body() {
|
||||||
_multiGet _exprashBody "$1" "$2"
|
_multiGet _exprashBody "$1" "$2"
|
||||||
}
|
}
|
||||||
# $1: key
|
# $1: key
|
||||||
function bodyHas() {
|
function hasBody() {
|
||||||
_multiHas _exprashBody "$1"
|
_multiHas _exprashBody "$1"
|
||||||
}
|
}
|
||||||
# $1: key
|
# $1: key
|
||||||
function bodyLen() {
|
function lenBody() {
|
||||||
_multiLen _exprashBody "$1"
|
_multiLen _exprashBody "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user