- Timestamp:
- 05.12.2011 22:22:43 (6 months ago)
- File:
-
- 1 edited
-
ZMS/trunk/_objchildren.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/_objchildren.py
r1557 r1744 162 162 # -------------------------------------------------------------------------- 163 163 def getObjChildren(self, id, REQUEST, meta_types=None): 164 """ 165 Returns a NodeList that contains all children of this node in 166 correct order. If none, this is a empty NodeList. 167 """ 164 168 objAttr = self.getObjChildrenAttr(id) 165 169 reid = None … … 172 176 173 177 178 # -------------------------------------------------------------------------- 179 # ObjChildren.getObjChildren 180 # -------------------------------------------------------------------------- 181 def filteredObjChildren(self, id, REQUEST, meta_types=None): 182 """ 183 Returns a NodeList that contains all visible children of this node in 184 correct order. If none, this is a empty NodeList. 185 """ 186 return filter(lambda ob: ob.isVisible(REQUEST),self.getObjChildren(id,REQUEST,meta_types)) 187 188 174 189 ############################################################################ 175 190 # ObjChildren.manage_initObjChild:
Note: See TracChangeset
for help on using the changeset viewer.
