public function getCandidatesList (bool $stringMode = false) : array
    {
        if (!$stringMode) :
            return $this->_Candidates;
        else :
            $result = [];

            foreach ($this->_Candidates as $candidateKey => &$oneCandidate) :
                $result[$candidateKey] = $oneCandidate->getName();
            endforeach;

            return $result;
        endif;
    }
public function getCandidatesList (bool $stringMode = false) : array
    {
        if (!$stringMode) :
            return $this->_Candidates;
        else :
            $result = [];

            foreach ($this->_Candidates as $candidateKey => &$oneCandidate) :
                $result[$candidateKey] = $oneCandidate->getName();
            endforeach;

            return $result;
        endif;
    }
public function getCandidatesList ( bool $ stringMode = false ) : array { if ( ! $ stringMode ) : return $ this -> _Candidates ; else : $ result = [ ] ; foreach ( $ this -> _Candidates as $ candidateKey => & $ oneCandidate ) : $ result [ $ candidateKey ] = $ oneCandidate -> getName ( ) ; endforeach ; return $ result ; endif ; }
Get the list of registered CANDIDATES
Get the list of registered CANDIDATES