Rev 790 | Rev 801 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 790 | Rev 800 | ||
---|---|---|---|
Line 86... | Line 86... | ||
86 | public function isLeafNode() { |
86 | public function isLeafNode() { |
87 | return false; |
87 | return false; |
88 | } |
88 | } |
89 | 89 | ||
90 | public function getContentPage(&$title, &$content, &$icon) { |
90 | public function getContentPage(&$title, &$content, &$icon) { |
91 | $icon = file_exists(__DIR__.'/icon_big.png') ? OIDplus::webPath(__DIR__,true).'icon_big.png' : ''; |
91 | $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webPath(__DIR__,true).'img/main_icon.png' : ''; |
92 | 92 | ||
93 | if ($this->isRoot()) { |
93 | if ($this->isRoot()) { |
94 | $title = OIDplusJava::objectTypeTitle(); |
94 | $title = OIDplusJava::objectTypeTitle(); |
95 | 95 | ||
96 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
96 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
Line 162... | Line 162... | ||
162 | 162 | ||
163 | public function getDirectoryName() { |
163 | public function getDirectoryName() { |
164 | if ($this->isRoot()) return $this->ns(); |
164 | if ($this->isRoot()) return $this->ns(); |
165 | return $this->ns().'_'.md5($this->nodeId(false)); |
165 | return $this->ns().'_'.md5($this->nodeId(false)); |
166 | } |
166 | } |
- | 167 | ||
- | 168 | public function rootIconname($mode) { |
|
- | 169 | return 'img/'.$mode.'_icon16.png'; |
|
- | 170 | } |
|
167 | } |
171 | } |