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
5769911f
Commit
5769911f
authored
Jun 08, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated docstring
parent
70965c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
lib/python/TreeDisplay/TreeItem.py
lib/python/TreeDisplay/TreeItem.py
+12
-1
No files found.
lib/python/TreeDisplay/TreeItem.py
View file @
5769911f
"""Tree Protocol
$Id: TreeItem.py,v 1.
1 1997/09/02 20:39:52 jim
Exp $"""
$Id: TreeItem.py,v 1.
2 1998/06/08 13:34:01 brian
Exp $"""
from
string
import
join
,
split
,
rfind
...
...
@@ -22,4 +22,15 @@ class TreeProtocol:
def
tpURL
(
self
):
"""Return string to be used as URL relative to parent.
The tree tag accumulates the tpURL of objects as it
traverses the tree. At any given point during dtml
rendering within the tree tag, you can use::
<!--#var tree-item-url-->
to get the url up to the point of the current object
being rendered.
"""
root
=
md
[
'tree-root-url'
]
"""Return string to be used as URL relative to parent."""
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