roundcubemail/program/lib/Roundcube/rcube_imap.php
protected function md2annotate($entry)
    {
        if (substr($entry, 0, 7) == '/shared') {
            return array(substr($entry, 7), 'value.shared');
        }
        else if (substr($entry, 0, 8) == '/private') {
            return array(substr($entry, 8), 'value.priv');
        }

        // @TODO: log error
    }
protected function md2annotate($entry)
    {
        if (substr($entry, 0, 7) == '/shared') {
            return array(substr($entry, 7), 'value.shared');
        }
        else if (substr($entry, 0, 8) == '/private') {
            return array(substr($entry, 8), 'value.priv');
        }

        // @TODO: log error
    }
protected function md2annotate ( $ entry ) { if ( substr ( $ entry , 0 , 7 ) == '/shared' ) { return array ( substr ( $ entry , 7 ) , 'value.shared' ) ; } else if ( substr ( $ entry , 0 , 8 ) == '/private' ) { return array ( substr ( $ entry , 8 ) , 'value.priv' ) ; } // @TODO: log error }
Converts the METADATA extension entry name into the correct
entry-attrib names for older ANNOTATEMORE version.

@param string $entry Entry name

@return array Entry-attribute list, NULL if not supported (?)
Converts the METADATA extension entry name into the correct entry - attrib names for older ANNOTATEMORE version .