public function getPostParameter($name, $raw = false)
    {
        $value = null;
        $post = $this->getPost();

        if (isset($post[$name])) {
            $value = $post[$name];
        }

        if ($value !== null && !$raw) {
            $value = $this->escapeSpecialChars($value);
        }

        return $value;
    }