Blame view

common/modules/relation/Module.php 613 Bytes
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  <?php

  

  namespace common\modules\relation;

  

  /**

   * relation module definition class

   *

   * @sections:

   * KEY - alias of the section

   * - name

   * - field

   * - via

   *  - model

   *  - linked_table

   * - alias

   * - entity1

   * - entity2:

   *  - label

   *  - listField

   *  - model

   *  - key

   *  - linked_key

   */

  class Module extends \yii\base\Module

  {

      /**

       * @inheritdoc

       */

      public $controllerNamespace = 'common\modules\relation\controllers';

  

      public $relations;

  

      /**

       * @inheritdoc

       */

      public function init()

      {

          parent::init();

      }

  }