protected function setFrontendData()
    {
        $currencies = $this->currency->getList(array('enabled' => true));

        $this->data['_currencies'] = $currencies;
        $this->data['_cart'] = $this->getCartQuantity();
        $this->data['_wishlist'] = $this->getWishlist();
        $this->data['_captcha'] = $this->getWidgetCaptcha();
        $this->data['_comparison'] = $this->getProductComparison();
        $this->data['_currency'] = $currencies[$this->current_currency];
        $this->data['_menu'] = $this->getWidgetMenu(array('items' => $this->data_categories));
    }
protected function setFrontendData()
    {
        $currencies = $this->currency->getList(array('enabled' => true));

        $this->data['_currencies'] = $currencies;
        $this->data['_cart'] = $this->getCartQuantity();
        $this->data['_wishlist'] = $this->getWishlist();
        $this->data['_captcha'] = $this->getWidgetCaptcha();
        $this->data['_comparison'] = $this->getProductComparison();
        $this->data['_currency'] = $currencies[$this->current_currency];
        $this->data['_menu'] = $this->getWidgetMenu(array('items' => $this->data_categories));
    }
protected function setFrontendData ( ) { $ currencies = $ this -> currency -> getList ( array ( 'enabled' => true ) ) ; $ this -> data [ '_currencies' ] = $ currencies ; $ this -> data [ '_cart' ] = $ this -> getCartQuantity ( ) ; $ this -> data [ '_wishlist' ] = $ this -> getWishlist ( ) ; $ this -> data [ '_captcha' ] = $ this -> getWidgetCaptcha ( ) ; $ this -> data [ '_comparison' ] = $ this -> getProductComparison ( ) ; $ this -> data [ '_currency' ] = $ currencies [ $ this -> current_currency ] ; $ this -> data [ '_menu' ] = $ this -> getWidgetMenu ( array ( 'items' => $ this -> data_categories ) ) ; }
Sets default data for templates
Sets default data for templates