Projekt

Allgemein

Profil

GX-Feature #43945 » SampleExtender.inc.php

user_classes/overloads/_samples/AdminOrderOverviewExtenderComponent/SampleExtender.inc.php - Daniel Wu, 19.11.2015 17:05

 
1
<?php
2
/* --------------------------------------------------------------
3
   SampleExtender.inc.php 2015-10-23 gm
4
   Gambio GmbH
5
   http://www.gambio.de
6
   Copyright (c) 2015 Gambio GmbH
7
   Released under the GNU General Public License (Version 2)
8
   [http://www.gnu.org/licenses/gpl-2.0.html]
9
   --------------------------------------------------------------
10
*/
11

    
12
class SampleExtender extends SampleExtender_parent
13
{
14
    function proceed()
15
    {
16
        parent::proceed();
17

    
18
        $this->v_output_buffer['single_action'] = '<a href="' . xtc_href_link('gm_send_order.php', 'oID=0&type=recreate_order') . '" target="_blank">TEST</a>';
19
        $this->v_output_buffer['multi_action'] = '<a data-gx-compatibility="orders/orders_modal_layer" data-orders_modal_layer-action="multi_delete" href="' . xtc_href_link(FILENAME_ORDERS, xtc_get_all_get_params(array ('oID', 'action')) . 'oID=0&action=delete') . '">MULTI-TEST</a>';
20
    }
21
}
    (1-1/1)