Пример #1
0
 /**
  * Returns a property from one of the identities.
  *
  * @see getValue()
  */
 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;
     }
 }