src/Titon/Db/Query/BindingAware.php
public function addBinding($field, $values) {
        if (!is_array($values)) {
            $values = [$values];
        }

        foreach ($values as $value) {
            if ($value instanceof Predicate) {
                $this->resolvePredicate($value);

            } else if ($value instanceof SubQuery) {
                $this->resolveSubQuery($value);

            } else {
                $this->_bindings[] = [
                    'field' => $field,
                    'value' => $value
                ];
            }
        }

        return $this;
    }
public function addBinding($field, $values) {
        if (!is_array($values)) {
            $values = [$values];
        }

        foreach ($values as $value) {
            if ($value instanceof Predicate) {
                $this->resolvePredicate($value);

            } else if ($value instanceof SubQuery) {
                $this->resolveSubQuery($value);

            } else {
                $this->_bindings[] = [
                    'field' => $field,
                    'value' => $value
                ];
            }
        }

        return $this;
    }
public function addBinding ( $ field , $ values ) { if ( ! is_array ( $ values ) ) { $ values = [ $ values ] ; } foreach ( $ values as $ value ) { if ( $ value instanceof Predicate ) { $ this -> resolvePredicate ( $ value ) ; } else if ( $ value instanceof SubQuery ) { $ this -> resolveSubQuery ( $ value ) ; } else { $ this -> _bindings [ ] = [ 'field' => $ field , 'value' => $ value ] ; } } return $ this ; }
Add a value to use in SQL parameter binding.

@param string $field
@param mixed $values
@return $this
Add a value to use in SQL parameter binding .