Sammlung
This commit is contained in:
32
Sammlung/lit-8/app/view.py
Normal file
32
Sammlung/lit-8/app/view.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user