| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup UnaCore UNA Core
- * @{
- */
- require_once('./inc/header.inc.php');
- require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
- require_once(BX_DIRECTORY_PATH_INC . "utils.inc.php");
- bx_import('BxDolLanguages');
- $sObject = bx_process_input(bx_get('o'));
- if (!$sObject)
- exit;
- $oGrid = BxDolGrid::getObjectInstance($sObject);
- if (!$oGrid) {
- // no such grid object available
- exit;
- }
- if(method_exists($oGrid, 'init'))
- $oGrid->init();
- $sAction = 'performAction' . bx_gen_method_name(bx_process_input(bx_get('a')));
- if (method_exists($oGrid, $sAction)) {
- $oGrid->$sAction();
- }
- /** @} */
|