You are here

public function TMGMTI18nStringDefaultSourceUIController::getSearchFormSubmittedParams in Translation Management Tool 7

Gets submitted search params.

Return value

array

2 calls to TMGMTI18nStringDefaultSourceUIController::getSearchFormSubmittedParams()
TMGMTI18nStringDefaultSourceUIController::overviewForm in sources/i18n_string/tmgmt_i18n_string.ui.inc
TMGMTI18nStringDefaultSourceUIController::overviewSearchFormPart in sources/i18n_string/tmgmt_i18n_string.ui.inc
Builds search form for entity sources overview.

File

sources/i18n_string/tmgmt_i18n_string.ui.inc, line 189
Provides the I18nString source controller.

Class

TMGMTI18nStringDefaultSourceUIController
Class TMGMTI18nStringDefaultSourceUIController

Code

public function getSearchFormSubmittedParams() {
  $params = array(
    'label' => NULL,
    'target_language' => NULL,
    'target_status' => NULL,
  );
  if (isset($_GET['label'])) {
    $params['label'] = $_GET['label'];
  }
  if (isset($_GET['target_language'])) {
    $params['target_language'] = $_GET['target_language'];
  }
  if (isset($_GET['target_status'])) {
    $params['target_status'] = $_GET['target_status'];
  }
  return $params;
}