| Revision 15801,
715 bytes
checked in by Anton Lesnikov, 5 months ago
(diff) |
|
Minor improvements
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /** |
|---|
| 3 | * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ |
|---|
| 4 | * CC-BY License - http://creativecommons.org/licenses/by/3.0/ |
|---|
| 5 | * |
|---|
| 6 | * @defgroup DolphinCore Dolphin Core |
|---|
| 7 | * @{ |
|---|
| 8 | */ |
|---|
| 9 | |
|---|
| 10 | require_once('./inc/header.inc.php'); |
|---|
| 11 | require_once(BX_DIRECTORY_PATH_INC . "utils.inc.php"); |
|---|
| 12 | |
|---|
| 13 | bx_import('BxDolLanguages'); |
|---|
| 14 | |
|---|
| 15 | $sObject = bx_process_input(bx_get('o')); |
|---|
| 16 | if (!$sObject) |
|---|
| 17 | exit; |
|---|
| 18 | |
|---|
| 19 | bx_import('BxDolGrid'); |
|---|
| 20 | $oGrid = BxDolGrid::getObjectInstance($sObject); |
|---|
| 21 | if (!$oGrid) { |
|---|
| 22 | // no such grid object available |
|---|
| 23 | exit; |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | $sAction = 'performAction' . str_replace(' ', '', ucwords(str_replace('_' , ' ', bx_process_input(bx_get('a'))))); |
|---|
| 27 | if (method_exists($oGrid, $sAction)) { |
|---|
| 28 | $oGrid->$sAction(); |
|---|
| 29 | } |
|---|
| 30 | |
|---|
| 31 | /** @} */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.