Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFPlone.PloneTool Namespace Reference

Classes

class  PloneTool

Functions

def _getaddresses

Variables

string AllowSendto = 'Allow sendto'
 _marker = utils._marker
dictionary _icons = {}
 CEILING_DATE = DefaultDublinCoreImpl._DefaultDublinCoreImpl__CEILING_DATE
 FLOOR_DATE = DefaultDublinCoreImpl._DefaultDublinCoreImpl__FLOOR_DATE
tuple BAD_CHARS = re.compile(r'[^a-zA-Z0-9-_~,.$\(\)# ]')
dictionary METADATA_DCNAME

Function Documentation

def CMFPlone.PloneTool._getaddresses (   fieldvalues) [private]
Return a list of (REALNAME, EMAIL) for each fieldvalue.

Definition at line 58 of file PloneTool.py.

00058 
00059 def _getaddresses(fieldvalues):
00060     """Return a list of (REALNAME, EMAIL) for each fieldvalue."""
00061     all = ', '.join(fieldvalues)
00062     a = AddressList(all)
00063     return a.addresslist
00064 
# dublic core accessor name -> metadata name

Variable Documentation

dictionary CMFPlone.PloneTool._icons = {}

Definition at line 49 of file PloneTool.py.

Definition at line 48 of file PloneTool.py.

string CMFPlone.PloneTool.AllowSendto = 'Allow sendto'

Definition at line 45 of file PloneTool.py.

tuple CMFPlone.PloneTool.BAD_CHARS = re.compile(r'[^a-zA-Z0-9-_~,.$\(\)# ]')

Definition at line 53 of file PloneTool.py.

CMFPlone.PloneTool.CEILING_DATE = DefaultDublinCoreImpl._DefaultDublinCoreImpl__CEILING_DATE

Definition at line 51 of file PloneTool.py.

CMFPlone.PloneTool.FLOOR_DATE = DefaultDublinCoreImpl._DefaultDublinCoreImpl__FLOOR_DATE

Definition at line 52 of file PloneTool.py.

Initial value:
00001 {
00002     # The first two rows are handle in a special way
00003     # 'Description'      : 'description',
00004     # 'Subject'          : 'keywords',
00005     'Description'      : 'DC.description',
00006     'Subject'          : 'DC.subject',
00007     'Creator'          : 'DC.creator',
00008     'Contributors'     : 'DC.contributors',
00009     'Publisher'        : 'DC.publisher',
00010     'CreationDate'     : 'DC.date.created',
00011     'ModificationDate' : 'DC.date.modified',
00012     'Type'             : 'DC.type',
00013     'Format'           : 'DC.format',
00014     'Language'         : 'DC.language',
00015     'Rights'           : 'DC.rights',
00016     }

Definition at line 65 of file PloneTool.py.