@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | - * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | - * @author Alexey Loban <[email protected]> |
|
| 6 | - * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | - */ |
|
| 3 | + * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | + * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | + * @author Alexey Loban <[email protected]> |
|
| 6 | + * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace lav45\translate; |
| 10 | 10 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | - * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | - * @author Alexey Loban <[email protected]> |
|
| 6 | - * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | - */ |
|
| 3 | + * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | + * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | + * @author Alexey Loban <[email protected]> |
|
| 6 | + * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace lav45\translate; |
| 10 | 10 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | - * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | - * @author Alexey Loban <[email protected]> |
|
| 6 | - * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | - */ |
|
| 3 | + * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | + * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | + * @author Alexey Loban <[email protected]> |
|
| 6 | + * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace lav45\translate; |
| 10 | 10 | |
@@ -51,10 +51,10 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | public function events() |
| 53 | 53 | { |
| 54 | - $beforeDelete = function () { |
|
| 54 | + $beforeDelete = function() { |
|
| 55 | 55 | $this->owner->unlinkAll($this->translateRelation, true); |
| 56 | 56 | }; |
| 57 | - $afterSave = function () { |
|
| 57 | + $afterSave = function() { |
|
| 58 | 58 | $this->owner->link('currentTranslate', $this->getTranslation()); |
| 59 | 59 | }; |
| 60 | 60 | return [ |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | - * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | - * @author Alexey Loban <[email protected]> |
|
| 6 | - * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | - */ |
|
| 3 | + * @link https://github.com/LAV45/yii2-translated-behavior |
|
| 4 | + * @copyright Copyright (c) 2015 LAV45! |
|
| 5 | + * @author Alexey Loban <[email protected]> |
|
| 6 | + * @license http://opensource.org/licenses/BSD-3-Clause |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace lav45\translate; |
| 10 | 10 | |