nystudio107 /
craft-similar
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Similar plugin for Craft CMS 3.x |
||
| 4 | * |
||
| 5 | * Similar for Craft lets you find elements, Entries, Categories, Commerce Products, etc, that are similar, based on... other related elements. |
||
| 6 | * |
||
| 7 | * @link https://nystudio107.com/ |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 8 | * @copyright Copyright (c) 2018 nystudio107.com |
||
|
0 ignored issues
–
show
|
|||
| 9 | */ |
||
|
0 ignored issues
–
show
|
|||
| 10 | |||
| 11 | namespace nystudio107\similar\behaviors; |
||
| 12 | |||
| 13 | use yii\base\Behavior; |
||
| 14 | |||
| 15 | /** |
||
|
0 ignored issues
–
show
|
|||
| 16 | * @author nystudio107.com |
||
|
0 ignored issues
–
show
Content of the @author tag must be in the form "Display Name <[email protected]>"
Loading history...
|
|||
| 17 | * @package Similar |
||
|
0 ignored issues
–
show
|
|||
| 18 | * @since 1.0.0 |
||
|
0 ignored issues
–
show
|
|||
| 19 | */ |
||
|
0 ignored issues
–
show
|
|||
| 20 | class CountBehavior extends Behavior |
||
| 21 | { |
||
| 22 | // Public Properties |
||
| 23 | // ========================================================================= |
||
| 24 | |||
| 25 | /** |
||
|
0 ignored issues
–
show
|
|||
| 26 | * @var int |
||
| 27 | */ |
||
| 28 | public int $count = 0; |
||
| 29 | |||
| 30 | // Public Methods |
||
| 31 | // ========================================================================= |
||
| 32 | } |
||
| 33 |