public function getCategoryItemUrL() { $data = parent::getCategoryItemUrL(); $this->_category_item_url = array(); $baseurl = parent::getBaseUrl(); foreach ($data as $k => $url) { $this->_category_item_url[$k] = $baseurl . $url; } return $this->_category_item_url; }
public function getCategoryItemArea() { $str = parent::getCategoryItemArea(); $data = parent::getCategoryItemUrL(); $this->_category_item_area = array(); foreach ($data as $k => $v) { $this->_category_item_area[$k] = $str; } return $this->_category_item_area; }
public function getCategoryItemUrL() { $sourceurl = parent::getUrl(); $data = parent::getCategoryItemUrL(); $arr = parse_url($sourceurl); $baseurl = $arr['scheme'] . "://" . $arr['host']; $this->_category_item_url = array(); foreach ($data as $k => $v) { $url = trim($v); $this->_category_item_url[$k] = $baseurl . $url; } return $this->_category_item_url; }
public function getCategoryItemUrL() { $sourceurl = parent::getUrl(); $data = parent::getCategoryItemUrL(); $arr = parse_url($sourceurl); $baseurl = $arr['scheme'] . "://" . $arr['host']; $this->_category_item_url = array(); foreach ($data as $k => $v) { $url = trim($v); $skuid = str_replace("/a/", "", $v); $this->_category_item_url[$k] = $baseurl . '/agent/Agentnew/AloneService.aspx?managername=' . $skuid; } return $this->_category_item_url; }
public function getCategoryItemUrL() { $data = parent::getCategoryItemUrL(); $this->_category_item_url = array(); foreach ($data as $k => $v) { $arr = explode("-", $v); $url = $v; if (isset($arr[0]) && $arr[0]) { $url = $arr[0] . '-4'; } $this->_category_item_url[] = $url; } return $this->_category_item_url; }