Back to index

plone3  3.1.7
Public Member Functions | Private Attributes
Archetypes.UIDCatalog.IndexableObjectWrapper Class Reference

List of all members.

Public Member Functions

def __init__
def __getattr__
def Title

Private Attributes


Detailed Description

Wwrapper for object indexing

Definition at line 114 of file

Constructor & Destructor Documentation

Definition at line 117 of file

00118     def __init__(self, obj):
00119         self._obj = obj

Member Function Documentation

Definition at line 120 of file

00121     def __getattr__(self, name):
00122         return getattr(self._obj, name)

Here is the caller graph for this function:

Definition at line 123 of file

00124     def Title(self):
00125         # TODO: dumb try to make sure UID catalog doesn't fail if Title can't be
00126         # converted to an ascii string
00127         # Title is used for sorting only, maybe we could replace it by a better
00128         # version
00129         title = self._obj.Title()
00130         if isinstance(title, unicode):
00131             return title.encode('utf-8')
00132         try:
00133             return str(title)
00134         except UnicodeDecodeError:
00135             return self._obj.getId()
00137 _marker=[]

Here is the caller graph for this function:

Member Data Documentation

Definition at line 118 of file

The documentation for this class was generated from the following file: