Ignore:
Timestamp:
Feb 12, 2010, 2:50:32 PM (15 years ago)
Author:
slederer
Message:

Funktionen für SOAP-API hinzugefügt, Entwurf für WSDL-File

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/src/resource.py

    r816 r823  
    8383        return None
    8484
    85     def getByName(self,name):
     85    def getByName(self,name,type=None):
    8686        result=[]
    87         if self.getName()==name:
     87        if self.getName()==name and (type==None or self.type==type):
    8888            result.append(self)
    8989        for i in self.items:
    90             r=i.getByName(name)
     90            r=i.getByName(name,type)
    9191            if len(r)!=0:
    9292                for a in r:
Note: See TracChangeset for help on using the changeset viewer.