<?php

class RadioGroup extends View implements IReadableView {



	protected $package = 'core-forms';



	public function add(View $child, $alias = null) {
		parent::add($child, $alias);
		$child->groupName = $this->getId();
	}



	public function valueReader() {
		return "RadioGroup.getValue('{$this->getId()}')";
	}



	public function errorMessage($message) {
// FIXME!
	}



	public function clearError() {
// FIXME!
	}



} // class RadioGroup

?>