CommonParams

Holds common parameters such as server, db, table, etc

The content for this is normally loaded from Header.php or Response.php and executed by ajax.js

module:CommonParams

Module Export

Source:

Methods

(inner) get(name) → {string}

Retrieves a value given its key Returns empty string for undefined values

Source:
Parameters:
Name Type Description
name string

The key

Returns:
Type:
string

(inner) getUrlQuery() → {string}

Returns the url query string using the saved parameters

Source:
Returns:
Type:
string

(inner) set(name, value) → {self}

Saves a single key value pair

Source:
Parameters:
Name Type Description
name string

The key

value string

The value

Returns:
Type:
self

For chainability

(inner) setAll(obj)

Saves all the key value pair that are provided in the input array

Source:
Parameters:
Name Type Description
obj Hash

The input array

Returns:

void