function __construct()
 {
     parent::__construct();
     $plugComponents = Configure::read('Shop.plugComponents');
     $aroProvider = Configure::read('Shop.address.ACL.aroProvider');
     if (is_array($aroProvider) && !empty($aroProvider['component'])) {
         $plugComponents[] = $aroProvider['component'];
     }
     if (!empty($plugComponents)) {
         if (!is_array($plugComponents)) {
             $plugComponents = array($plugComponents);
         }
         foreach ($plugComponents as $component) {
             $this->components[] = $component;
         }
         //debug($plugComponents);
         //debug($this->components);
     }
 }
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->set('operators', $this->ShopPromotion->operators);
 }
 function beforeFilter()
 {
     parent::beforeFilter();
     $this->subMenu = $this->Nodes->menu(6, 'flat');
 }