Rev 267 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 267 | Rev 277 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16 | * See the License for the specific language governing permissions and |
16 | * See the License for the specific language governing permissions and |
17 | * limitations under the License. |
17 | * limitations under the License. |
18 | */ |
18 | */ |
19 | 19 | ||
20 | if (!defined('IN_OIDPLUS')) die(); |
- | |
21 | - | ||
22 | require_once __DIR__ . '/oidinfo_api.inc.php'; |
- | |
23 | - | ||
24 | class OIDplusPageAdminOIDInfoExport extends OIDplusPagePluginAdmin { |
20 | class OIDplusPageAdminOIDInfoExport extends OIDplusPagePluginAdmin { |
25 | 21 | ||
26 | public static function getPluginInformation() { |
- | |
27 | $out = array(); |
- | |
28 | $out['name'] = 'OID-Info.com export'; |
- | |
29 | $out['author'] = 'ViaThinkSoft'; |
- | |
30 | $out['version'] = null; |
- | |
31 | $out['descriptionHTML'] = null; |
- | |
32 | return $out; |
- | |
33 | } |
- | |
34 | - | ||
35 | public function priority() { |
22 | public function priority() { |
36 | return 400; |
23 | return 400; |
37 | } |
24 | } |
38 | 25 | ||
39 | public function action(&$handled) { |
26 | public function action(&$handled) { |
40 | // Nothing |
27 | // Nothing |
41 | } |
28 | } |
42 | 29 | ||
43 | public function init($html=true) { |
30 | public function init($html=true) { |
44 | // Nothing |
31 | require_once __DIR__ . '/oidinfo_api.inc.php'; |
45 | } |
32 | } |
46 | 33 | ||
47 | public function gui($id, &$out, &$handled) { |
34 | public function gui($id, &$out, &$handled) { |
48 | if ($id === 'oidplus:export') { |
35 | if ($id === 'oidplus:export') { |
49 | $handled = true; |
36 | $handled = true; |