IMP_Prefs_Identity::getValue PHP Méthode

getValue() public méthode

Returns a property from one of the identities.
See also: getValue()
public getValue ( $key, $identity = null )
    public function getValue($key, $identity = null)
    {
        $val = parent::getValue($key, $identity);
        switch ($key) {
            case IMP_Mailbox::MBOX_SENT:
                return is_string($val) && strlen($val) ? IMP_Mailbox::get(IMP_Mailbox::prefFrom($val)) : null;
            default:
                return $val;
        }
    }