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
Collaboration diagram for CMFPlone.tests.dummy.ImageComputedProps:
Collaboration graph

List of all members.

Public Member Functions

def get_title
def get_alt
def get_longdesc

Public Attributes


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

Member Function Documentation

Definition at line 171 of file

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

Definition at line 176 of file

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

Definition at line 166 of file

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

string = 'dummy' [static, inherited]

Definition at line 41 of file

Definition at line 47 of file

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

Definition at line 179 of file

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

Definition at line 42 of file

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

Reimplemented from CMFPlone.tests.dummy.Item.

Definition at line 169 of file

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