public function index07Action() { $table = "user"; $adapter = $this->getServiceLocator()->get("db_books"); $tableGateway = new TableGateway($table, $adapter); $updateObj = new Update("user"); $updateObj->set(array("name" => "mentos"))->where->greaterThan("id", "5"); $tableGateway->updateWith($updateObj); return false; }