version 1.92, 2008/09/08 19:36:52
|
version 1.93, 2008/11/19 14:22:42
|
Line 84 class ECHO_basis:
|
Line 84 class ECHO_basis:
|
management_page_charset="utf-8" |
management_page_charset="utf-8" |
isVisible = True |
isVisible = True |
|
|
|
# Managment for the PID |
|
def setPID(self,pid): |
|
"""set the pid""" |
|
self.pid=pid |
|
return True |
|
|
|
def getPID(self): |
|
"""get the pid""" |
|
return getattr(self,'pid',None) |
|
|
|
|
def unicodify(self, s): |
def unicodify(self, s): |
"""return unicode object for string (utf-8 or latin1) or unicode object s""" |
"""return unicode object for string (utf-8 or latin1) or unicode object s""" |
Line 207 class ECHO_basis:
|
Line 217 class ECHO_basis:
|
return self.isVisible |
return self.isVisible |
return True |
return True |
|
|
|
def getDescription(self): |
|
"""get content of description field""" |
|
|
|
|
|
return self.unicodify(getattr(self,'description','')); |
|
|
def getTitle(self): |
def getTitle(self): |
"""title""" |
"""title""" |
if hasattr(self,'getLanguage'): |
if hasattr(self,'getLanguage'): |