Lines Matching refs:CURRENTNODE
207 private function __writeTOCTree($CURRENTNODE, $CURRENTNODENAME = null, $DEPTH = 0) { argument
212 if (!is_array($CURRENTNODE) || empty($CURRENTNODE))
219 if (!empty($CURRENTNODE['id']) && empty($CURRENTNODE['pages']))
222 return $this->__TOCItem($CURRENTNODE, $DEPTH);
226 if (!empty($CURRENTNODE[$conf['start']]))
229 … $didOpenItem = !(count(empty($CURRENTNODE['pages']) ? $CURRENTNODE : $CURRENTNODE['pages']) == 0);
230 $XML .= $this->__TOCItem($CURRENTNODE[$conf['start']], $DEPTH, !$didOpenItem);
231 unset($CURRENTNODE[$conf['start']]);
232 } else if (!empty($CURRENTNODE['element'])) {
233 $didOpenItem = !(count($CURRENTNODE['pages']) == 0);
234 $XML .= $this->__TOCItem($CURRENTNODE['element'], $DEPTH, !$didOpenItem);
235 unset($CURRENTNODE['element']);
238 $didOpenItem = !(count($CURRENTNODE) == 0);
246 $this->debug($CURRENTNODE);
249 …foreach (empty($CURRENTNODE['pages']) ? $CURRENTNODE : $CURRENTNODE['pages'] as $NODENAME => $ELEM)