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
cfc615aa
Commit
cfc615aa
authored
Aug 30, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added (protected) PrincipiaSearchSource, which is what getFindContent
seemed to want to do.
parent
b65fa5a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+11
-5
No files found.
lib/python/Shared/DC/ZRDB/DA.py
View file @
cfc615aa
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''Generic Database adapter
$Id: DA.py,v 1.7
1 1999/08/30 17:43:2
9 jim Exp $'''
__version__
=
'$Revision: 1.7
1
$'
[
11
:
-
2
]
$Id: DA.py,v 1.7
2 1999/08/30 18:01:0
9 jim Exp $'''
__version__
=
'$Revision: 1.7
2
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
...
...
@@ -144,9 +144,11 @@ class DA(
# Specify how individual operations add up to "permissions":
__ac_permissions__
=
(
(
'View management screens'
,
(
'manage_main'
,
'index_html'
,
'manage_advancedForm'
,
)),
(
'View management screens'
,
(
'manage_main'
,
'index_html'
,
'manage_advancedForm'
,
'PrincipiaSearchSource'
)),
(
'Change Database Methods'
,
(
'manage_edit'
,
'manage_advanced'
,
'manage_testForm'
,
'manage_test'
)),
(
'Use Database Methods'
,
(
'__call__'
,
''
),
(
'Anonymous'
,
'Manager'
)),
...
...
@@ -270,6 +272,10 @@ class DA(
#def getFindContent(self):
# """Return content for use by the Find machinery."""
# return '%s\n%s' % (self.arguments_src, self.src)
def
PrincipiaSearchSource
(
self
):
"""Return content for use by the Find machinery."""
return
'%s
\
n
%s'
%
(
self
.
arguments_src
,
self
.
src
)
def
manage_testForm
(
self
,
REQUEST
):
" "
...
...
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