Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
CMFPlone.tests.dummy.ImageComputedProps Class Reference
Inheritance diagram for CMFPlone.tests.dummy.ImageComputedProps:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.tests.dummy.ImageComputedProps:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def get_title
def get_alt
def get_longdesc

Public Attributes

 id

Static Public Attributes

tuple title = ComputedAttribute(get_title, 1)
tuple alt = ComputedAttribute(get_alt, 1)
tuple longdesc = ComputedAttribute(get_longdesc, 1)
string id = 'dummy'
string meta_type = 'Dummy Item'

Detailed Description

Helper for testing the imagePatch interaction with
ComputedAttributes (which are used in Archetypes ImageField).

Definition at line 161 of file dummy.py.


Member Function Documentation

Definition at line 171 of file dummy.py.

00171 
00172     def get_alt(self):
00173         return getattr(self, '_alt', '')

Definition at line 176 of file dummy.py.

00176 
00177     def get_longdesc(self):
00178         return getattr(self, '_longdesc', '')

Definition at line 166 of file dummy.py.

00166 
00167     def get_title(self):
00168         return getattr(self, '_title', '')


Member Data Documentation

tuple CMFPlone.tests.dummy.ImageComputedProps.alt = ComputedAttribute(get_alt, 1) [static]

Definition at line 174 of file dummy.py.

string CMFPlone.tests.dummy.Item.id = 'dummy' [static, inherited]

Definition at line 41 of file dummy.py.

Definition at line 47 of file dummy.py.

tuple CMFPlone.tests.dummy.ImageComputedProps.longdesc = ComputedAttribute(get_longdesc, 1) [static]

Definition at line 179 of file dummy.py.

string CMFPlone.tests.dummy.Item.meta_type = 'Dummy Item' [static, inherited]

Definition at line 42 of file dummy.py.

tuple CMFPlone.tests.dummy.ImageComputedProps.title = ComputedAttribute(get_title, 1) [static]

Reimplemented from CMFPlone.tests.dummy.Item.

Definition at line 169 of file dummy.py.


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