Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
wicked.at.relation.Backlink Class Reference
Inheritance diagram for wicked.at.relation.Backlink:
Inheritance graph
[legend]
Collaboration diagram for wicked.at.relation.Backlink:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __repr__
def targetURL

Static Public Attributes

 relationship = config.BACKLINK_RELATIONSHIP

Detailed Description

A backlink is a reference set on an object when it is targetted
by a resolved wicked-link

Definition at line 26 of file relation.py.


Member Function Documentation

Definition at line 33 of file relation.py.

00033 
00034     def __repr__(self):
00035         return "<Backlink sid:%s tid:%s rel:%s>" %(self.sourceUID, self.targetUID, self.relationship)

let's stick this in the catalog this to keep things light

Definition at line 36 of file relation.py.

00036 
00037     def targetURL(self):
00038         """
00039         let's stick this in the catalog this to keep things light
00040         """
00041         target = self.getTargetObject()
00042         if target:
00043             return target.absolute_url()
00044         return '#'
00045 
00046 
00047         

Here is the call graph for this function:


Member Data Documentation

Definition at line 32 of file relation.py.


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