Retrieves the specified annotation for the complete list of mailboxes.
public listAnnotation ( string $annotation ) : array | ||
$annotation | string | The name of the annotation to retrieve. |
return | array | An associative array combining the folder names as key with the corresponding annotation value. |
/** * Retrieves the specified annotation for the complete list of mailboxes. * * @param string $annotation The name of the annotation to retrieve. * * @return array An associative array combining the folder names as key with * the corresponding annotation value. */ public function listAnnotation($annotation) { $this->_timer->push(); $result = parent::listAnnotation($annotation); $this->_logger->debug(sprintf('REQUEST OUT IMAP: %s ms [listAnnotation]', floor($this->_timer->pop() * 1000))); return $result; }
/** * Retrieves the specified annotation for the complete list of mailboxes. * * @param string $annotation The name of the annotation to retrieve. * * @return array An associative array combining the folder names as key with * the corresponding annotation value. */ public function listAnnotation($annotation) { $this->_logger->debug(sprintf('Driver "%s": Listing annotation "%s".', $this->getDriverName(), $annotation)); $result = parent::listAnnotation($annotation); $this->_logger->debug(sprintf('Driver "%s": List contained %s folder annotations.', $this->getDriverName(), count($result))); return $result; }