Subversion Repositories oidplus

Rev

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

Rev 590 Rev 592
Line 75... Line 75...
75
 
75
 
76
                return $this->appendArcs($str)->nodeId();
76
                return $this->appendArcs($str)->nodeId();
77
        }
77
        }
78
 
78
 
79
        public function crudShowId(OIDplusObject $parent) {
79
        public function crudShowId(OIDplusObject $parent) {
-
 
80
                if ($parent instanceof OIDplusOid) {
80
                return $this->deltaDotNotation($parent);
81
                        return $this->deltaDotNotation($parent);
81
        }
82
                }
-
 
83
        }
82
 
84
 
83
        public function crudInsertPrefix() {
85
        public function crudInsertPrefix() {
84
                return '';
86
                return '';
85
        }
87
        }
86
 
88
 
87
        public function jsTreeNodeName(OIDplusObject $parent = null) {
89
        public function jsTreeNodeName(OIDplusObject $parent = null) {
88
                if ($parent == null) return $this->objectTypeTitle();
90
                if ($parent == null) return $this->objectTypeTitle();
-
 
91
                if ($parent instanceof OIDplusOid) {
89
                return $this->viewGetArcAsn1s($parent);
92
                        return $this->viewGetArcAsn1s($parent);
-
 
93
                } else {
-
 
94
                        return '';
-
 
95
                }
90
        }
96
        }
91
 
97
 
92
        public function defaultTitle() {
98
        public function defaultTitle() {
93
                return _L('OID %1',$this->oid);
99
                return _L('OID %1',$this->oid);
94
        }
100
        }