/** * * Gets the values to bind to placeholders, including any 'where' values * (needed for INSERT and UPDATE). * * @return array * */ public function getBindValues() { $bind_values = parent::getBindValues(); $i = 1; foreach ($this->bind_where as $val) { $bind_values[$i] = $val; $i++; } return $bind_values; }