/**
  * Affect the config
  * 
  * @param oat\taoQtiItem\model\Config $config
  */
 public function init(Config $config)
 {
     $registry = new CreatorRegistry();
     //get info controls directly located in views/js/pic/myInfoControl:
     $hooks = $registry->getDevImplementations();
     foreach ($hooks as $hook) {
         $config->addInfoControl($hook);
     }
     //finally add the info control manager "hook"
     $config->addHook('qtiItemPic/picManager/hook');
 }
 /**
  * Affect the config
  * 
  * @param \oat\qtiItemPci\model\Config $config
  */
 public function init(Config $config)
 {
     $registry = new CreatorRegistry();
     //get registered PCI
     $hooks = $registry->getRegisteredImplementations();
     foreach ($hooks as $hook) {
         $config->addInteraction($hook);
     }
     //get PCI directly located in views/js/pciCreator/myCustomInteraction:
     $hooks = $registry->getDevImplementations();
     foreach ($hooks as $hook) {
         $config->addInteraction($hook);
     }
     //finally add the custom interaction manager "hook"
     $config->addHook('qtiItemPci/pciManager/hook');
 }