Back to index

plone3  3.1.7
Classes | Functions | Variables
ZopeVersionControl.ZopeRepository Namespace Reference

Classes

class  ZopeRepository

Functions

def addRepository

Variables

string __version__ = '$Revision: 1.5 $'
 Copyright (c) 2001 Zope Corporation and Contributors.
tuple addRepositoryForm = DTMLFile('dtml/RepositoryAddForm', globals())
tuple constructors

Function Documentation

def ZopeVersionControl.ZopeRepository.addRepository (   self,
  id,
  title = '',
  REQUEST = None 
)
Zope object constructor function.

Definition at line 92 of file ZopeRepository.py.

00092 
00093 def addRepository(self, id, title='', REQUEST=None):
00094     """Zope object constructor function."""
00095     object = ZopeRepository(title=title)
00096     object._setId( id )
00097     self._setObject(id, object)
00098     object = self._getOb(id)
00099     if REQUEST is not None:
00100         try:    url = self.DestinationURL()
00101         except: url = REQUEST['URL1']
00102         REQUEST.RESPONSE.redirect('%s/manage_main' % url)
00103     return


Variable Documentation

string ZopeVersionControl.ZopeRepository.__version__ = '$Revision: 1.5 $'

Copyright (c) 2001 Zope Corporation and Contributors.

All Rights Reserved.

This software is subject to the provisions of the Zope Public License, Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE

Definition at line 14 of file ZopeRepository.py.

tuple ZopeVersionControl.ZopeRepository.addRepositoryForm = DTMLFile('dtml/RepositoryAddForm', globals())

Definition at line 104 of file ZopeRepository.py.

Initial value:
00001 (
00002   ('addRepositoryForm', addRepositoryForm),
00003   ('addRepository',     addRepository),
00004 )

Definition at line 107 of file ZopeRepository.py.