| 1 | <?php |
||
| 21 | class Identity extends \hiam\models\Identity |
||
| 22 | { |
||
| 23 | public $roles; |
||
| 24 | public $seller; |
||
| 25 | public $seller_id; |
||
| 26 | public $email_confirmed; |
||
| 27 | |||
| 28 | protected $activeStates = ['ok', 'active']; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function rules() |
||
| 44 | |||
| 45 | public function isActive() |
||
| 49 | |||
| 50 | public function isEmailConfirmed() |
||
| 54 | |||
| 55 | public function setEmailConfirmed($email) |
||
| 61 | } |
||
| 62 |