1 | <?php |
||
3 | class CountryPrice_CopyPrices_Controller extends ContentController |
||
4 | { |
||
5 | private static $url_segment = 'shoppingcart-copy-prices'; |
||
|
|||
6 | |||
7 | private static $allowed_actions = array( |
||
8 | "index" => 'ADMIN' |
||
9 | ); |
||
10 | |||
11 | |||
12 | public static function get_link(DataObject $object) |
||
16 | |||
17 | /** |
||
18 | * requires the following _GET variables: |
||
19 | * - class |
||
20 | * - id |
||
21 | * - from (country code) |
||
22 | * - to (country code or codes!), using commas ... |
||
23 | * |
||
24 | */ |
||
25 | public function index() |
||
38 | |||
39 | |||
40 | public function Link($action = null) |
||
44 | } |
||
45 |