equal
deleted
inserted
replaced
32 """an entity instance has e_schema automagically set on the class and |
32 """an entity instance has e_schema automagically set on the class and |
33 instances have access to their issuing cursor |
33 instances have access to their issuing cursor |
34 """ |
34 """ |
35 __regid__ = 'Any' |
35 __regid__ = 'Any' |
36 __implements__ = () |
36 __implements__ = () |
|
37 |
|
38 @classmethod |
|
39 def cw_create_url(cls, req, **kwargs): |
|
40 """ return the url of the entity creation form for this entity type""" |
|
41 return req.build_url('add/%s' % cls.__regid__, **kwargs) |
37 |
42 |
38 # meta data api ########################################################### |
43 # meta data api ########################################################### |
39 |
44 |
40 def dc_title(self): |
45 def dc_title(self): |
41 """return a suitable *unicode* title for this entity""" |
46 """return a suitable *unicode* title for this entity""" |