Logo Search packages:      
Sourcecode: zope-managableindex version File versions  Download package

def ManagableIndex::ManagableIndex::ManagableIndex::uniqueValues (   self,
  name = None,
  withLengths = 0 
)

unique values for *name* (???).

If *withLength*, returns sequence of tuples *(value,length)*.

Definition at line 291 of file ManagableIndex.py.

00291                                                   :
    '''unique values for *name* (???).

    If *withLength*, returns sequence of tuples *(value,length)*.
    '''
    if name is None: name= self.id
    if name != self.id: return ()
    values= self._index.keys()
    if not withLengths: return tuple(values)
    return tuple([(value,self._len(value)) for value in values])


  def _apply_index(self,request, cid= ''):


Generated by  Doxygen 1.6.0   Back to index