1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Documentation/Election Class/public Election--setExternalDataHandler.md
2022-09-21 14:01:45 +02:00

1012 B

public Election::setExternalDataHandler

Description

public Election->setExternalDataHandler ( CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface $driver ): bool

Import and enable an external driver to store vote on very large election.

driver: CondorcetPHP\Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface

Driver object.

Return value:

(bool) True if success. Else throw an Exception.

Throws:

  • CondorcetPHP\Condorcet\Throwable\DataHandlerException


Examples and explanation