private function _loadScripts($scripts = array('jquery' => true, 'swipebox' => true))
    {
        if (!isset($scripts['jquery']) || (isset($scripts['jquery']) && $scripts['jquery'] == true)) {
            echo $this->_View->Html->script(
                'http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js',
                array('block' => 'script'));
        }

        if (!isset($scripts['swipebox']) || (isset($scripts['swipebox']) && $scripts['swipebox'] == true)) {
            echo $this->_View->Html->css(
                'https://cdnjs.cloudflare.com/ajax/libs/jquery.swipebox/1.3.0.2/css/swipebox.min.css',
                array('block' => 'css'));
            echo $this->_View->Html->script(array(
                'https://cdnjs.cloudflare.com/ajax/libs/jquery.swipebox/1.3.0.2/js/jquery.swipebox.min.js',
                'Gallery.interface'
            ),
                array('block' => 'script'));
        }
    }
private function _loadScripts($scripts = array('jquery' => true, 'swipebox' => true))
    {
        if (!isset($scripts['jquery']) || (isset($scripts['jquery']) && $scripts['jquery'] == true)) {
            echo $this->_View->Html->script(
                'http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js',
                array('block' => 'script'));
        }

        if (!isset($scripts['swipebox']) || (isset($scripts['swipebox']) && $scripts['swipebox'] == true)) {
            echo $this->_View->Html->css(
                'https://cdnjs.cloudflare.com/ajax/libs/jquery.swipebox/1.3.0.2/css/swipebox.min.css',
                array('block' => 'css'));
            echo $this->_View->Html->script(array(
                'https://cdnjs.cloudflare.com/ajax/libs/jquery.swipebox/1.3.0.2/js/jquery.swipebox.min.js',
                'Gallery.interface'
            ),
                array('block' => 'script'));
        }
    }
private function _loadScripts ( $ scripts = array ( 'jquery' => true , 'swipebox' => true ) ) { if ( ! isset ( $ scripts [ 'jquery' ] ) || ( isset ( $ scripts [ 'jquery' ] ) && $ scripts [ 'jquery' ] == true ) ) { echo $ this -> _View -> Html -> script ( 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' , array ( 'block' => 'script' ) ) ; } if ( ! isset ( $ scripts [ 'swipebox' ] ) || ( isset ( $ scripts [ 'swipebox' ] ) && $ scripts [ 'swipebox' ] == true ) ) { echo $ this -> _View -> Html -> css ( 'https://cdnjs.cloudflare.com/ajax/libs/jquery.swipebox/1.3.0.2/css/swipebox.min.css' , array ( 'block' => 'css' ) ) ; echo $ this -> _View -> Html -> script ( array ( 'https://cdnjs.cloudflare.com/ajax/libs/jquery.swipebox/1.3.0.2/js/jquery.swipebox.min.js' , 'Gallery.interface' ) , array ( 'block' => 'script' ) ) ; } }
Load scripts for using on showroom

@param bool $jquery
Load scripts for using on showroom