public static function getBalanceArray()
    {
        $balances = array();
        foreach (self::_getAllBalances() as $value) {
            $balances[$value->customer_id] = $value->prepaid_balance_amount;
        }
        return $balances;
    }
public static function getBalanceArray()
    {
        $balances = array();
        foreach (self::_getAllBalances() as $value) {
            $balances[$value->customer_id] = $value->prepaid_balance_amount;
        }
        return $balances;
    }
public static function getBalanceArray ( ) { $ balances = array ( ) ; foreach ( self :: _getAllBalances ( ) as $ value ) { $ balances [ $ value -> customer_id ] = $ value -> prepaid_balance_amount ; } return $ balances ; }
method to return list of all balances indexed by customer id
@link http://open.didww.com/index.php/16._Get_Prepaid_Balance_List
@todo change name to getArray
@return array
method to return list of all balances indexed by customer id