Subversion Repositories oidplus

Rev

Rev 1148 | Rev 1189 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1148 Rev 1156
Line 332... Line 332...
332
                                                        $out[] = $this->_oidip_attr('parent', $sParent); // DO NOT TRANSLATE!
332
                                                        $out[] = $this->_oidip_attr('parent', $sParent); // DO NOT TRANSLATE!
333
                                                }
333
                                                }
334
                                        }
334
                                        }
335
 
335
 
336
                                        $res_children = OIDplus::db()->query("select * from ###objects where parent = ?", array($obj->nodeId()));
336
                                        $res_children = OIDplus::db()->query("select * from ###objects where parent = ?", array($obj->nodeId()));
337
                                        $res_children = new OIDplusNaturalSortedQueryResult($res_children, 'id');
337
                                        $res_children->naturalSortByField('id');
338
                                        while ($row_children = $res_children->fetch_object()) {
338
                                        while ($row_children = $res_children->fetch_object()) {
339
                                                $objTest = OIDplusObject::parse($row_children->id);
339
                                                $objTest = OIDplusObject::parse($row_children->id);
340
                                                if ($this->allowObjectView($objTest, $authTokens)) {
340
                                                if ($this->allowObjectView($objTest, $authTokens)) {
341
                                                        $out[] = $this->_oidip_attr('subordinate', $row_children->id.$this->show_asn1_appendix($row_children->id)); // DO NOT TRANSLATE!
341
                                                        $out[] = $this->_oidip_attr('subordinate', $row_children->id.$this->show_asn1_appendix($row_children->id)); // DO NOT TRANSLATE!
342
                                                } else {
342
                                                } else {