| @@ -1,0 +1,29 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AcyMailing\Controllers; | |
| 4 | + | |
| 5 | +use AcyMailing\Core\AcymController; | |
| 6 | +use AcyMailing\Controllers\Segments\Listing; | |
| 7 | +use AcyMailing\Controllers\Segments\Edition; | |
| 8 | +use AcyMailing\Controllers\Segments\Campaign; | |
| 9 | + | |
| 10 | +class SegmentsController extends AcymController | |
| 11 | +{ | |
| 12 | + use Listing; | |
| 13 | + use Edition; | |
| 14 | + use Campaign; | |
| 15 | + | |
| 16 | + public const FLAG_USERS = -1; | |
| 17 | + public const FLAG_EXPORT_USERS = -2; | |
| 18 | + public const FLAG_COUNT = -3; | |
| 19 | + | |
| 20 | + public function __construct() | |
| 21 | + { | |
| 22 | + parent::__construct(); | |
| 23 | + | |
| 24 | + $this->breadcrumb[acym_translation('ACYM_SEGMENTS')] = acym_completeLink('segments'); | |
| 25 | + $this->loadScripts = [ | |
| 26 | + 'edit' => ['datepicker', 'vue-applications' => ['modal_users_summary']], | |
| 27 | + ]; | |
| 28 | + } | |
| 29 | +} | |