IMP_Prefs_Identity::getSelectList PHP Méthode

getSelectList() public méthode

Returns an array with the necessary values for the identity select box in the IMP compose window.
public getSelectList ( ) : array
Résultat array The array with the necessary strings
    public function getSelectList()
    {
        $list = array();
        foreach ($this->getAll($this->_prefnames['id']) as $k => $v) {
            $list[$k] = strval($this->getFromAddress($k)) . ' (' . $v . ')';
        }
        return $list;
    }