forked from enigmadigital/ArtVandelay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathArtVandelayPlugin.php
More file actions
47 lines (39 loc) · 968 Bytes
/
ArtVandelayPlugin.php
File metadata and controls
47 lines (39 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php namespace Craft;
class ArtVandelayPlugin extends BasePlugin
{
public function getName()
{
return 'Art Vandelay';
}
public function getVersion()
{
return '2.0.0a';
}
public function getDeveloper()
{
return 'XO Digital';
}
public function getDeveloperUrl()
{
return 'http://www.xodigital.com.au';
}
public function hasCpSection()
{
return false;
}
public function getSettingsUrl()
{
return 'artVandelay';
}
public function registerCpRoutes()
{
return array(
'artVandelay' => array('action' => 'artVandelay/exportFields'),
'artVandelay/version1' => array('action' => 'artVandelay/index'),
'artVandelay/export/tabs' => array('action' => 'artVandelay/exportTabs'),
'artVandelay/export/fields' => array('action' => 'artVandelay/exportFields'),
'artVandelay/export/sections' => array('action' => 'artVandelay/exportSections'),
'artVandelay/import/1' => array('action' => 'artVandelay/importStep1'),
);
}
}