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
7b3f18f6
Commit
7b3f18f6
authored
Jul 03, 2000
by
Michel Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
f4910674
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
22 deletions
+53
-22
lib/python/Products/ExternalMethod/help/ExternalMethod.py
lib/python/Products/ExternalMethod/help/ExternalMethod.py
+2
-0
lib/python/Products/MailHost/help/MailHost.py
lib/python/Products/MailHost/help/MailHost.py
+1
-0
lib/python/Products/OFSP/help/File.py
lib/python/Products/OFSP/help/File.py
+2
-0
lib/python/Products/OFSP/help/Image.py
lib/python/Products/OFSP/help/Image.py
+2
-0
lib/python/Products/ZCatalog/help/Vocabulary.py
lib/python/Products/ZCatalog/help/Vocabulary.py
+12
-8
lib/python/Products/ZCatalog/help/ZCatalog.py
lib/python/Products/ZCatalog/help/ZCatalog.py
+29
-14
lib/python/Products/ZSQLMethods/help/ZSQLMethod.py
lib/python/Products/ZSQLMethods/help/ZSQLMethod.py
+5
-0
No files found.
lib/python/Products/ExternalMethod/help/ExternalMethod.py
View file @
7b3f18f6
...
...
@@ -131,6 +131,8 @@ class ExternalMethod:
"""
__constructor__
=
manage_addExternalMethod
def
manage_edit
(
self
,
title
,
module
,
function
,
REQUEST
=
None
):
"""
Change the external method
...
...
lib/python/Products/MailHost/help/MailHost.py
View file @
7b3f18f6
...
...
@@ -102,6 +102,7 @@ class MailHost:
"""
__constructor__
=
manage_addMailHost
def
send
(
self
,
messageText
,
mto
=
None
,
mfrom
=
None
,
subject
=
None
,
encode
=
None
):
...
...
lib/python/Products/OFSP/help/File.py
View file @
7b3f18f6
...
...
@@ -129,6 +129,8 @@ class File:
method.
"""
__constructor__
=
manage_addFile
__extends__
=
(
'OFSP.ObjectManagerItem.ObjectManagerItem'
,
'OFSP.PropertyManager.PropertyManager'
,
...
...
lib/python/Products/OFSP/help/Image.py
View file @
7b3f18f6
...
...
@@ -131,6 +131,8 @@ class Image:
"""
__constructor__
=
manage_addImage
__extends__
=
(
'OFSP.File.File'
,)
def
tag
(
self
,
height
=
None
,
width
=
None
,
alt
=
None
,
...
...
lib/python/Products/ZCatalog/help/Vocabulary.py
View file @
7b3f18f6
...
...
@@ -83,6 +83,17 @@
#
##############################################################################
def
manage_addVocabulary
(
self
,
id
,
title
,
globbing
=
None
,
REQUEST
=
None
):
"""
Add a Vocabulary object to an ObjectManager.
"""
class
Vocabulary
:
"""
...
...
@@ -92,14 +103,13 @@ class Vocabulary:
"""
__constructor__
=
manage_addVocabulary
def
query
(
self
,
pattern
):
"""
Query Vocabulary for words matching pattern.
Pattern format -- XXX
"""
...
...
@@ -118,9 +128,3 @@ class Vocabulary:
"""
def
manage_addVocabulary
(
self
,
id
,
title
,
globbing
=
None
,
REQUEST
=
None
):
"""
Add a Vocabulary object to an ObjectManager.
"""
lib/python/Products/ZCatalog/help/ZCatalog.py
View file @
7b3f18f6
...
...
@@ -83,6 +83,19 @@
#
##############################################################################
def
manage_addZCatalog
(
self
,
id
,
title
,
vocab_id
=
None
):
"""
Add a ZCatalog object.
'vocab_id' is the name of a Vocabulary object this catalog should
use. A value of None will cause the Catalog to create its own
private vocabulary.
"""
class
ZCatalog
:
"""
...
...
@@ -95,15 +108,25 @@ class ZCatalog:
Indexes
Text -- XXX
Text -- Text indexes index textual content. The index can be
used to search for objects containing certain words.
Field -- XXX
Field -- Field indexes index atomic values. The index can be
used to search for objects that have certain properties.
Keyword -- XXX
Keyword -- Keyword indexes index sequences of values. The index
can be used to search for objects that match one or more of the
search terms.
Meta-data
XXX
The ZCatalog can maintain a table of extra data about cataloged
objects. This information can be used on search result pages to
show information about a search result.
The meta-data table schema is used to build the schema for
ZCatalog Result objects. The objects have the same attributes
as the column of the meta-data table.
ZCatalog does not store references to the objects themselves, but
rather to a unique identifier that defines how to get to the
...
...
@@ -113,6 +136,8 @@ class ZCatalog:
"""
__constructor__
=
manage_addZCatalog
def
catalog_object
(
self
,
obj
,
uid
):
"""
...
...
@@ -189,13 +214,3 @@ class ZCatalog:
Search the catalog, the same way as 'searchResults'.
"""
def
manage_addZCatalog
(
self
,
id
,
title
,
vocab_id
=
None
):
"""
Add a ZCatalog object.
'vocab_id' is the name of a Vocabulary object this catalog should
use. A value of None will cause the Catalog to create its own
private vocabulary.
"""
lib/python/Products/ZSQLMethods/help/ZSQLMethod.py
View file @
7b3f18f6
...
...
@@ -139,8 +139,13 @@ class ZSQLMethod:
employees/employee_id/1234/service_record
Search results are returned as Record objects. The schema of
a Record objects matches the schema of the table queried in
the search.
"""
__constructor__
=
manage_addZSQLMethod
def
__call__
(
self
,
REQUEST
=
None
,
**
kw
):
"""
...
...
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