private function bindAttributes (&$query, $exclude = array ())
	{
		
		// Loop through attributes
		
		foreach (array_keys (static::$attributes) as $name)
		{
			
			// If we're excluding the attribute then move on
			
			if (in_array ($name, $exclude))
			{
				continue;
			}
			
			// Bind paramater
			
			$query->bindValue (':' . $name, $this->iget ($name));
			
		}
		
	}
private function bindAttributes (&$query, $exclude = array ())
	{
		
		// Loop through attributes
		
		foreach (array_keys (static::$attributes) as $name)
		{
			
			// If we're excluding the attribute then move on
			
			if (in_array ($name, $exclude))
			{
				continue;
			}
			
			// Bind paramater
			
			$query->bindValue (':' . $name, $this->iget ($name));
			
		}
		
	}
private function bindAttributes ( & $ query , $ exclude = array ( ) ) { // Loop through attributes foreach ( array_keys ( static :: $ attributes ) as $ name ) { // If we're excluding the attribute then move on if ( in_array ( $ name , $ exclude ) ) { continue ; } // Bind paramater $ query -> bindValue ( ':' . $ name , $ this -> iget ( $ name ) ) ; } }
Bind object attribute values to the query
@param \PDOStatement $query Query object to bind values to
@param array $exclude Attributes to exclude
@return void
Bind object attribute values to the query