/**
  * Constructor.
  *
  */
 public function __construct($manager, $id, $args = array())
 {
     //let the parent do what it has to
     parent::__construct($manager, $id, $args);
     //print the pre add view content
     add_action('customize_controls_print_footer_scripts', array($this, 'hu_print_pre_add_view_template'), 1);
 }
 public function to_json()
 {
     $this->json['sidebar_contexts'] = $this->contexts;
     $this->json['sidebar_locations'] = $this->locations;
     //$this -> json['default_zones'] = $this -> default_zones;
     parent::to_json();
 }