provide utility method 'getUidForObject()' in base view
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3571 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									9661f62155
								
							
						
					
					
						commit
						333a2d02e2
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -142,6 +142,9 @@ class BaseView(object): | ||||||
|     def nl2br(self, text): |     def nl2br(self, text): | ||||||
|         return format.nl2br(text) |         return format.nl2br(text) | ||||||
| 
 | 
 | ||||||
|  |     def getUidForObject(self, obj): | ||||||
|  |         return util.getUidForObject(obj) | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| pattern = re.compile(r'[ /\?\+%]') | pattern = re.compile(r'[ /\?\+%]') | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm