setParameter
Set a parameter that will be included in the call to the eContext API.
Description
public Html Html::setParameter($key, $value)
Parameters
- $key
- The name of the Parameters to set.
- $value
- The value of the parameter
Examples
Example #1
Set "entities" parameter to true
$client = new eContext\Client(ECONTEXT_USERNAME, ECONTEXT_PASSWORD);
$classify = new eContext\Html($client);
$classify->setParameter('entities', true);