Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/db/cat_event_handler.php
Show First 20 Lines • Show All 1794 Lines • ▼ Show 20 Line(s) | |||||
protected function getHuman($type, $search_data) | protected function getHuman($type, $search_data) | ||||
{ | { | ||||
// all 3 variables are retrieved from $search_data array | // all 3 variables are retrieved from $search_data array | ||||
/* @var $search_config Array */ | /* @var $search_config Array */ | ||||
/* @var $verb string */ | /* @var $verb string */ | ||||
/* @var $value string */ | /* @var $value string */ | ||||
$type = ucfirst(strtolower($type)); | $type = ucfirst(strtolower($type)); | ||||
extract($search_data); | extract($search_data, EXTR_SKIP); | ||||
switch ($type) { | switch ($type) { | ||||
case 'Field': | case 'Field': | ||||
return $this->Application->Phrase($search_config['DisplayName']); | return $this->Application->Phrase($search_config['DisplayName']); | ||||
break; | break; | ||||
case 'Verb': | case 'Verb': | ||||
return $verb ? $this->Application->Phrase('lu_advsearch_'.$verb) : ''; | return $verb ? $this->Application->Phrase('lu_advsearch_'.$verb) : ''; | ||||
▲ Show 20 Lines • Show All 1280 Lines • Show Last 20 Lines |