Ejemplo n.º 1
0
 /**
  * @inheritdoc 
  */
 public function init()
 {
     parent::init();
     $this->layout = '@humhub/modules/installer/views/layouts/main.php';
     $this->initConfigSteps();
     $this->sortConfigSteps();
 }
Ejemplo n.º 2
0
 public function init()
 {
     parent::init();
     try {
         $tableSchema = Yii::$app->db->schema->getTableSchema('insighter_stripe');
         if ($tableSchema != null) {
             $stripe_setting = Stripe::findOne(1);
             if ($stripe_setting) {
                 $api_key = $stripe_setting->private_key;
                 \Stripe\Stripe::setApiKey($api_key);
             }
         }
     } catch (Exception $e) {
     }
 }
Ejemplo n.º 3
0
 public function init()
 {
     parent::init();
     // custom initialization code goes here
 }
Ejemplo n.º 4
0
 public function init()
 {
     parent::init();
     $this->modules = [['stripe' => ['class' => 'app\\modules\\stripe\\Module']]];
 }
Ejemplo n.º 5
0
 public function init()
 {
     parent::init();
 }