示例#1
0
 public function __construct(Ai1ec_Registry_Object $registry)
 {
     parent::__construct($registry);
     // Handle schema changes.
     $this->_install_schema();
     // Install the CRON
     $this->install_cron();
     $this->_xguard = $registry->get('compatibility.xguard');
 }
 /**
  * add plugin to the internal Array. This assure us that the plugins extends our base abstract class.
  *
  * @param Ai1ec_Connector_Plugin $plugin
  */
 public function add_plugin(Ai1ec_Connector_Plugin $plugin)
 {
     $plugin->initialize_settings_if_not_set();
     $this->_plugins[] = $plugin;
 }
示例#3
0
 public function __construct(Ai1ec_Registry_Object $registry)
 {
     parent::__construct($registry);
 }