Exemplo n.º 1
0
def delete():
    l = LaptopsTrademarks(cdb,request.vars["id_trademark"],"","")
    response = l.delete()                         
    return dict(response=response)
Exemplo n.º 2
0
def getTrademarkData():
    l = LaptopsTrademarks(cdb,request.vars['id_trademark'],"","")
    response = l.getTrademarkData()
    return dict(response=response)
Exemplo 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)            
Exemplo n.º 4
0
def list():    
    l = LaptopsTrademarks(cdb,"","","")
    response = l.list(request.vars)
    return response