Ajax/common/html/HtmlCollection.php
public function addPropertyValues($property,$values){
		if(\is_array($values)===false){
			$values=\array_fill(0, $this->count(),$values);
		}
		foreach ($values as $i=>$value){
			if(isset($this->content[$i])){
				$this->content[$i++]->addToProperty($property,$value);
			}
			else{
				return $this;
			}
		}
		return $this;
	}
public function addPropertyValues($property,$values){
		if(\is_array($values)===false){
			$values=\array_fill(0, $this->count(),$values);
		}
		foreach ($values as $i=>$value){
			if(isset($this->content[$i])){
				$this->content[$i++]->addToProperty($property,$value);
			}
			else{
				return $this;
			}
		}
		return $this;
	}
public function addPropertyValues ( $ property , $ values ) { if ( \ is_array ( $ values ) === false ) { $ values = \ array_fill ( 0 , $ this -> count ( ) , $ values ) ; } foreach ( $ values as $ i => $ value ) { if ( isset ( $ this -> content [ $ i ] ) ) { $ this -> content [ $ i ++ ] -> addToProperty ( $ property , $ value ) ; } else { return $ this ; } } return $ this ; }
Adds the values of a property for each item in the collection
@param string $property
@param array|mixed $values
@return $this
Adds the values of a property for each item in the collection