CMSimple_XH 開発者ドキュメント
IntegratedPluginMenu.php
1 <?php
2 
16 namespace XH;
17 
29 {
35  protected function makeMainItem()
36  {
37  XH_registerPluginMenuItem($this->plugin, $this->mainLabel, $this->mainUrl);
38  }
39 
45  protected function makeStylesheetItem()
46  {
47  XH_registerPluginMenuItem($this->plugin, $this->cssLabel, $this->cssUrl);
48  }
49 
55  protected function makeConfigItem()
56  {
57  XH_registerPluginMenuItem($this->plugin, $this->configLabel, $this->configUrl);
58  }
59 
65  protected function makeLanguageItem()
66  {
67  XH_registerPluginMenuItem($this->plugin, $this->languageLabel, $this->languageUrl);
68  }
69 
77  protected function makeHelpItem()
78  {
79  XH_registerPluginMenuItem($this->plugin, $this->helpLabel, $this->helpUrl, '_blank');
80  }
81 }
XH_registerPluginMenuItem($plugin, $label=null, $url=null, $target=null)
Definition: adminfuncs.php:585