FfExtHelper
public class FfExtHelper
Method Summary | |
---|---|
void | appendParameterToUri(string uri, string paramExpression) Returns a URI with parameter expression appended to the query string. |
string | getFullCountryName(string countryAbbreviation) Return the full country name. |
string | getFullStateName(string stateAbbreviation) Return the full U.S. |
the | getIndex(array input, string key) Returns the numeric index position of a key, where the numeric index starts at 0. |
a | getQueryString(array params) Returns a URL query string constructed from an associative array. |
void | hexDump(string str) Echos a hexidecimal dump of binary data. |
a | removeParameterFromUri(string uri, string paramName) Returns a URI without the specified parameter and parameter value. |
string | stringToPattern(string str) Returns a string of characters that are treated as regular expression constants and not regular expression control characters. |
public void appendParameterToUri(string uri, string paramExpression)
Returns a URI with parameter expression appended to the query string.
public string getFullCountryName(string countryAbbreviation)
Return the full country name.
public string getFullStateName(string stateAbbreviation)
Return the full U.S. state name.
public the getIndex(array input, string key)
Returns the numeric index position of a key, where the numeric index starts at 0.
public a getQueryString(array params)
Returns a URL query string constructed from an associative array. This method uses urlencode on the parameter names.
public void hexDump(string str)
Echos a hexidecimal dump of binary data.
public a removeParameterFromUri(string uri, string paramName)
Returns a URI without the specified parameter and parameter
value. Or, just the URI if the parameter doesn't exist.
For example:
tester2.php?removeParam=1 => tester2.php
tester2.php?removeParam=1¶m2=2¶m3=3 => tester2.php?param2=2¶m3=3
public string stringToPattern(string str)
Returns a string of characters that are treated as regular expression constants and not regular expression control characters.
FfExtHelper a helper class that contains methods that are rarely used by FORMfields.