setting Model attributes to protected or private

Hi, referring to the example at [yiiframework.com/doc/guide/1.1/en/form.model]

if i changed the member variables / attributes to protected and this affected the validations. how can i overcome this??

Either make them public or create a getter and setter.