Commit d6671e8a authored by Jean-Paul Smets's avatar Jean-Paul Smets

File now inherits from XMLObject

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10039 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91c655d4
...@@ -30,22 +30,22 @@ from AccessControl import ClassSecurityInfo ...@@ -30,22 +30,22 @@ from AccessControl import ClassSecurityInfo
from Products.CMFCore.WorkflowCore import WorkflowMethod from Products.CMFCore.WorkflowCore import WorkflowMethod
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type.Base import Base from Products.ERP5Type.Base import Base
from Products.CMFDefault.File import File as CMFFile from Products.CMFDefault.File import File as CMFFile
from zLOG import LOG from zLOG import LOG
class File(Base, CMFFile): class File(XMLObject, CMFFile):
""" """
A File can contain text that can be formatted using A File can contain text that can be formatted using
*Structured Text* or *HTML*. Text can be automatically translated *Structured Text* or *HTML*. Text can be automatically translated
through the use of 'message catalogs'. through the use of 'message catalogs'.
A Document is a terminating leaf File can only contain role information.
in the OFS. It can not contain anything.
Document inherits from XMLObject and can File inherits from XMLObject and can
be synchronized accross multiple sites. be synchronized accross multiple sites.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment