public function addAttributes($arrAttributes)
	{
		parent::addAttributes($arrAttributes);

		if ($this->type != 'number')
		{
			return;
		}

		foreach (array('minlength', 'minval', 'maxlength', 'maxval') as $name)
		{
			if (isset($arrAttributes[$name]))
			{
				$this->$name = $arrAttributes[$name];
			}
		}
	}