Subversion Repositories oidplus

Rev

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

Rev 247 Rev 250
Line 76... Line 76...
76
 
76
 
77
        public function addString($str) {
77
        public function addString($str) {
78
                if ($this->isRoot()) {
78
                if ($this->isRoot()) {
79
                        return 'java:'.$str;
79
                        return 'java:'.$str;
80
                } else {
80
                } else {
81
                        if (strpos($str,'.') !== false) throw new Exception("Please only submit one arc.");
81
                        if (strpos($str,'.') !== false) throw new OIDplusException("Please only submit one arc.");
82
                        return $this->nodeId() . '.' . $str;
82
                        return $this->nodeId() . '.' . $str;
83
                }
83
                }
84
        }
84
        }
85
 
85
 
86
        public function crudShowId(OIDplusObject $parent) {
86
        public function crudShowId(OIDplusObject $parent) {