|
Last change
on this file since 181 was
1,
checked in by myroslav, 21 years ago
|
|
Building directory structure
|
|
File size:
434 bytes
|
| Line | |
|---|
| 1 | from Products.Archetypes.public import * |
|---|
| 2 | from Products.CMFDefault.Link import Link |
|---|
| 3 | from Products.ATContentTypes.types.ATLink import ATLink |
|---|
| 4 | from Products.qClickTrackingTool.config import * |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | class Campaign(ATLink): |
|---|
| 8 | """My own link based on ATLink""" |
|---|
| 9 | |
|---|
| 10 | schema = ATLink.schema |
|---|
| 11 | meta_type = 'Campaign' |
|---|
| 12 | archetype_name = 'Campaign' |
|---|
| 13 | |
|---|
| 14 | __implements__ = ATLink.__implements__ |
|---|
| 15 | |
|---|
| 16 | registerType(Campaign, PROJECTNAME) |
|---|
Note: See
TracBrowser
for help on using the repository browser.