Ignore:
Timestamp:
06/01/11 17:01:47 (13 years ago)
Author:
thiagoaos
Message:

Ticket #1955 - Adição de 2 relatórios e ajuste no relatório de cotas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/reports/inc/class.imap_functions.inc.php

    r3946 r4570  
    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.