Esempio n. 1
0
def delete():
    l = LaptopsTrademarks(cdb,request.vars["id_trademark"],"","")
    response = l.delete()                         
    return dict(response=response)
Esempio n. 2
0
def getTrademarkData():
    l = LaptopsTrademarks(cdb,request.vars['id_trademark'],"","")
    response = l.getTrademarkData()
    return dict(response=response)
Esempio n. 3
0
def modify():
    l = LaptopsTrademarks(cdb,request.vars["id_trademark"],request.vars["trademark"],request.vars["model"])
    response = l.process(request.vars["action"])
    return dict(response = response)            
Esempio n. 4
0
def list():    
    l = LaptopsTrademarks(cdb,"","","")
    response = l.list(request.vars)
    return response