public function set($property, $name, $value = null)
    {
        $set = (is_array($name)) ? $name : array($name => $value);
        switch ($property) {
            case 'errors':
                $this->validator->errors = array_merge($this->validator->errors, $set);
                break;
            case 'values':
            case 'header':
            case 'hidden':
                $this->$property = array_merge($this->$property, $set);
                break;
            case 'footer':
                foreach ((array) $name as $value) {
                    $this->footer[] = $value;
                }
                break;
        }
    }