/** @return value of request parameter as if magic_quotes_gpc is OFF and sanitized from html tags * @param boolean $asHtml as html (html_entities) */ function getReqParam($key, $asHtml=false) { $value = $this->controller->converter->fromRequestData($this->getRequestParam($key)); return $asHtml ? $this->controller->converter->toHtml($value) : $value; } |