- Publicity: Public Only All
oct-election-procs.tcl
Procs for election
- Location:
- packages/oct-election/tcl/oct-election-procs.tcl
Procedures in this file
- oct-election::valid_voter_p (private)
- oct-election::valid_voters (public)
Detailed information
oct-election::valid_voter_p (private)
oct-election::valid_voter_p [ -election_id election_id ] \ [ -user_id user_id ]
- Switches:
- -election_id (optional)
- -user_id (optional)
- Author:
- Joel Aufrecht
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
oct-election::valid_voters (public)
oct-election::valid_voters [ -status status ] -election_id election_id
Return a list of valid voters
- Switches:
- -status (optional, defaults to
"not_voted"
)- Could be "voted" or "non_voted", reflecting the voters who have voted for the elections already and the ones who did not vote yet.
- -election_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.