function __construct()
 {
     parent::__construct();
     $plugComponents = Configure::read('Shop.plugComponents');
     if (!empty($plugComponents)) {
         if (!is_array($plugComponents)) {
             $plugComponents = array($plugComponents);
         }
         foreach ($plugComponents as $component) {
             $this->components[] = $component;
         }
         //debug($plugComponents);
         //debug($this->components);
     }
 }
 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);
     }
 }