Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
377871fc
Commit
377871fc
authored
Nov 24, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial
parent
13ab7094
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
0 deletions
+61
-0
lib/python/ZClasses/__init__.py
lib/python/ZClasses/__init__.py
+61
-0
No files found.
lib/python/ZClasses/__init__.py
0 → 100644
View file @
377871fc
##############################################################################
#
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
# Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
# rights reserved.
#
##############################################################################
__doc__
=
'''Sample product initialization module
The job of this module is to provide any run-time initialization
needed by a product and to define product meta data.
This sample product publishes a folder-ish and a simple object.
$Id: __init__.py,v 1.1 1998/11/24 01:23:26 jim Exp $'''
__version__
=
'$Revision: 1.1 $'
[
11
:
-
2
]
from
ImageFile
import
ImageFile
import
Ozome
# Names of objects added by this product:
meta_types
=
(
{
'name'
:
Ozome
.
Ozome
.
meta_type
,
'action'
:
'manage_addOzomeForm'
,
# The method to add one.
},
)
# Attributes (usually "methods") to be added to folders to support
# creating objects:
methods
=
{
'manage_addOzomeForm'
:
Ozome
.
manage_addOzomeForm
,
'manage_addOzome'
:
Ozome
.
manage_addOzome
,
}
# Permission to be added to folders:
__ac_permissions__
=
(
# To add items:
(
'Add Principia Class'
,
(
'manage_addOzomeForm'
,
'manage_addOzome'
)),
)
##############################################################################
#
# $Log: __init__.py,v $
# Revision 1.1 1998/11/24 01:23:26 jim
# initial
#
# Revision 1.3 1998/06/25 11:39:15 jim
# Added permissions.
#
# Revision 1.2 1998/01/02 18:39:01 jim
# initial
#
# Revision 1.1 1997/12/31 21:57:01 jim
# initial
#
#
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment