Private/Polyfony/Query/Conditions.php
public function where(array $conditions) {
		// for each provided strict condition
		foreach($conditions as $column => $value) {
			// secure the column name
			list(
				$column, 
				$placeholder
			) = Convert::columnToPlaceholder($this->Quote ,$column);
			// save the condition
			$this->Conditions[] = "{$this->Operator} ( {$column} = :{$placeholder} )";
			// save the value
			$this->Values[":{$placeholder}"] = $value;
		}
		// return self to the next method
		return $this;
	}
public function where(array $conditions) {
		// for each provided strict condition
		foreach($conditions as $column => $value) {
			// secure the column name
			list(
				$column, 
				$placeholder
			) = Convert::columnToPlaceholder($this->Quote ,$column);
			// save the condition
			$this->Conditions[] = "{$this->Operator} ( {$column} = :{$placeholder} )";
			// save the value
			$this->Values[":{$placeholder}"] = $value;
		}
		// return self to the next method
		return $this;
	}
public function where ( array $ conditions ) { // for each provided strict condition foreach ( $ conditions as $ column => $ value ) { // secure the column name list ( $ column , $ placeholder ) = Convert :: columnToPlaceholder ( $ this -> Quote , $ column ) ; // save the condition $ this -> Conditions [ ] = "{$this->Operator} ( {$column} = :{$placeholder} )" ; // save the value $ this -> Values [ ":{$placeholder}" ] = $ value ; } // return self to the next method return $ this ; }
add a condition
add a condition