Ajax/semantic/html/collections/form/traits/FieldsTrait.php
public function setFieldsPropertyValues($property,$values){
		$i=0;
		if(\is_array($values)===false){
			$values=\array_fill(0, $this->count(),$values);
		}
		foreach ($values as $value){
			$c=$this->content[$i++];
			if(isset($c)){
				$df=$c->getDataField();
				$df->setProperty($property,$value);
			}
			else{
				return $this;
			}
		}
		return $this;
	}
public function setFieldsPropertyValues($property,$values){
		$i=0;
		if(\is_array($values)===false){
			$values=\array_fill(0, $this->count(),$values);
		}
		foreach ($values as $value){
			$c=$this->content[$i++];
			if(isset($c)){
				$df=$c->getDataField();
				$df->setProperty($property,$value);
			}
			else{
				return $this;
			}
		}
		return $this;
	}
public function setFieldsPropertyValues ( $ property , $ values ) { $ i = 0 ; if ( \ is_array ( $ values ) === false ) { $ values = \ array_fill ( 0 , $ this -> count ( ) , $ values ) ; } foreach ( $ values as $ value ) { $ c = $ this -> content [ $ i ++ ] ; if ( isset ( $ c ) ) { $ df = $ c -> getDataField ( ) ; $ df -> setProperty ( $ property , $ value ) ; } else { return $ this ; } } return $ this ; }
Sets the values of a property for each Field of each item in the collection
@param string $property
@param array|mixed $values
@return HtmlFormFields
Sets the values of a property for each Field of each item in the collection