Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/units/products/products_tag_processor.php
Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Line(s) | |||||
} | } | ||||
$link_params = Array('m_cat_id' => $object->GetDBField('CategoryId'), 'pass' => 'm,p'); | $link_params = Array('m_cat_id' => $object->GetDBField('CategoryId'), 'pass' => 'm,p'); | ||||
} | } | ||||
else { | else { | ||||
$t = $params['template']; | $t = $params['template']; | ||||
$link_params = Array('m_cat_id' => $object->GetDBField('CategoryId'), 'pass' => 'm,p,ord', 'ord_event' => 'OnAddToCart'); | $link_params = Array('m_cat_id' => $object->GetDBField('CategoryId'), 'pass' => 'm,p,ord', 'ord_event' => 'OnAddToCart'); | ||||
} | } | ||||
$this->Application->SetVar('p_id', $this->Application->GetVar($this->getPrefixSpecial().'_id')); | $link_params['p_id'] = $object->GetID(); | ||||
return $this->Application->HREF($t, '', $link_params); | return $this->Application->HREF($t, '', $link_params); | ||||
} | } | ||||
function SearchResultsCount($params) | function SearchResultsCount($params) | ||||
{ | { | ||||
/** @var kSearchHelper $search_helper */ | /** @var kSearchHelper $search_helper */ | ||||
$search_helper = $this->Application->recallObject('SearchHelper'); | $search_helper = $this->Application->recallObject('SearchHelper'); | ||||
▲ Show 20 Lines • Show All 555 Lines • Show Last 20 Lines |