original_string: public function where($cond, $value = null, $type = null)
      {
          $this->_parts[self::WHERE][] = $this->_where($cond, $value, $type, true);
  
          return $this;
      }
code: public function where($cond, $value = null, $type = null)
      {
          $this->_parts[self::WHERE][] = $this->_where($cond, $value, $type, true);
  
          return $this;
      }
code_tokens: public function where ( $ cond , $ value = null , $ type = null ) { $ this -> _parts [ self :: WHERE ] [ ] = $ this -> _where ( $ cond , $ value , $ type , true ) ; return $ this ; }
docstring: Adds a WHERE condition to the query by AND.
  
  If a value is passed as the second param, it will be quoted
  and replaced into the condition wherever a question-mark
  appears. Array values are quoted and comma-separated.
  
  <code>
  // simplest but non-secure
  $select->where("id = $id");
  
  // secure (ID is quoted but matched anyway)
  $select->where('id = ?', $id);
  
  // alternatively, with named binding
  $select->where('id = :id');
  </code>
  
  Note that it is more correct to use named bindings in your
  queries for values other than strings. When you use named
  bindings, don't forget to pass the values when actually
  making a query:
  
  <code>
  $db->fetchAll($select, array('id' => 5));
  </code>
  
  @param string   $cond  The WHERE condition.
  @param mixed    $value OPTIONAL The value to quote into the condition.
  @param int      $type  OPTIONAL The type of the given value
  @return Zend_Db_Select This Zend_Db_Select object.
docstring_tokens: Adds a WHERE condition to the query by AND .