Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/visits/visits_tag_processor.php
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | |||||
/** | /** | ||||
* Enter description here... | * Enter description here... | ||||
* | * | ||||
* @param string $params | * @param string $params | ||||
* @return kDBList | * @return kDBList | ||||
*/ | */ | ||||
function &GetList($params) | function &GetList($params) | ||||
{ | { | ||||
$list_name = $this->SelectParam($params, 'list_name,name'); | $list_name = array_key_exists('list_name', $params) ? $params['list_name'] : ''; | ||||
if ( !$list_name ) { | if ( !$list_name ) { | ||||
$list_name = $this->Application->Parser->GetParam('list_name'); | $list_name = $this->Application->Parser->GetParam('list_name'); | ||||
} | } | ||||
$types = $this->SelectParam($params, 'types'); | $types = $this->SelectParam($params, 'types'); | ||||
if ( $types == 'myvisitororders' || $types == 'myvisitors' ) { | if ( $types == 'myvisitororders' || $types == 'myvisitors' ) { | ||||
$this->nameToSpecialMapping[$list_name] = 'incommerce'; | $this->nameToSpecialMapping[$list_name] = 'incommerce'; | ||||
} | } | ||||
return parent::GetList($params); | return parent::GetList($params); | ||||
} | } | ||||
} | } |