Ignore:
Timestamp:
07/31/12 16:01:37 (12 years ago)
Author:
cristiano
Message:

Ticket #2892 - Backport de relatórios do módulo Reports - Troca do mudulo reports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reports/inc/class.imap_functions.inc.php

    r5291 r6920  
    3939                return $quota; 
    4040        } 
     41 
     42        function getMembersShareAccount($uid) 
     43        { 
     44                $owner_user_share = imap_getacl($this->imap, "user" . $this->imapDelimiter . $uid); 
     45 
     46                //Organiza participantes da conta compartilha em um array, retira apenas os members,  
     47                $i =0; 
     48                foreach($owner_user_share as $key => $value) 
     49                { 
     50                        if ($i != 0) 
     51                        { 
     52                                $return[$i] = $key; 
     53                        } 
     54                        $i++; 
     55                } 
     56 
     57                //Ordena os participantes da conta compartilhada 
     58                sort($return); 
     59 
     60                return $return; 
     61        } 
     62 
    4163} 
Note: See TracChangeset for help on using the changeset viewer.