protected function prepareDataOutput()
    {
        $this->data['_css'] = $this->getCss();

        foreach (array('top', 'bottom') as $position) {
            $this->data["_js_$position"] = $this->getJs($position);
            $this->setJsTranslation($this->data["_js_$position"]);
        }

        $this->hook->attach('template.data', $this->data, $this);

        gplcart_array_sort($this->data['_css']);
        gplcart_array_sort($this->data['_js_top']);
        gplcart_array_sort($this->data['_js_bottom']);
    }
protected function prepareDataOutput()
    {
        $this->data['_css'] = $this->getCss();

        foreach (array('top', 'bottom') as $position) {
            $this->data["_js_$position"] = $this->getJs($position);
            $this->setJsTranslation($this->data["_js_$position"]);
        }

        $this->hook->attach('template.data', $this->data, $this);

        gplcart_array_sort($this->data['_css']);
        gplcart_array_sort($this->data['_js_top']);
        gplcart_array_sort($this->data['_js_bottom']);
    }
protected function prepareDataOutput ( ) { $ this -> data [ '_css' ] = $ this -> getCss ( ) ; foreach ( array ( 'top' , 'bottom' ) as $ position ) { $ this -> data [ "_js_$position" ] = $ this -> getJs ( $ position ) ; $ this -> setJsTranslation ( $ this -> data [ "_js_$position" ] ) ; } $ this -> hook -> attach ( 'template.data' , $ this -> data , $ this ) ; gplcart_array_sort ( $ this -> data [ '_css' ] ) ; gplcart_array_sort ( $ this -> data [ '_js_top' ] ) ; gplcart_array_sort ( $ this -> data [ '_js_bottom' ] ) ; }
Prepare template data variables before output
Prepare template data variables before output