1 | <?php |
||
30 | class User extends RecordWithId |
||
31 | { |
||
32 | |||
33 | const TABLE_ALIAS = Organization::TABLE_ALIAS . '_users'; |
||
34 | |||
35 | /** |
||
36 | * @inheritdoc |
||
37 | */ |
||
38 | public function rules() |
||
63 | |||
64 | /** |
||
65 | * Returns the user element. |
||
66 | * |
||
67 | * @return ActiveQueryInterface The relational query object. |
||
68 | */ |
||
69 | public function getUser(): ActiveQueryInterface |
||
73 | |||
74 | /** |
||
75 | * Returns the organization element. |
||
76 | * |
||
77 | * @return ActiveQueryInterface The relational query object. |
||
78 | */ |
||
79 | public function getOrganization(): ActiveQueryInterface |
||
83 | |||
84 | /** |
||
85 | * Returns the associated site. |
||
86 | * |
||
87 | * @return ActiveQueryInterface The relational query object. |
||
88 | */ |
||
89 | public function getSite(): ActiveQueryInterface |
||
93 | } |
||
94 |