darthsandmann c9f3117da1 Sammlung
2016-10-16 21:53:15 +02:00

32 lines
938 B
Python

# coding: utf-8
#----------------------------------------------------------
class View_cl(object):
#----------------------------------------------------------
#-------------------------------------------------------
def __init__(self):
#-------------------------------------------------------
pass
#-------------------------------------------------------
def createList_px(self, data_opl):
#-------------------------------------------------------
return data_opl
#-------------------------------------------------------
def createForm_px(self, id_spl, data_opl):
#-------------------------------------------------------
if id_spl == None:
data_opl['id'] = ''
elif id_spl == '':
data_opl['id'] = ''
elif id_spl == '0':
data_opl['id'] = ''
else:
data_opl['id'] = id_spl
return data_opl
# EOF