Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 9 |
| MeetingNoteQuery | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12.00 | |
0.00% |
0 / 9 |
| hostType | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 3 |
|||
| guestType | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 3 |
|||
| adminType | |
0.00% |
0 / 1 |
2.00 | |
0.00% |
0 / 3 |
|||
| <?php | |
| namespace common\models; | |
| /** | |
| * This is the query model class for table "{{%meeting}}". | |
| */ | |
| class MeetingNoteQuery extends \yii\db\ActiveQuery | |
| { | |
| public function hostType() | |
| { | |
| return $this->andWhere(['type' => MeetingNote::TYPE_HOST]); | |
| } | |
| public function guestType() | |
| { | |
| return $this->andWhere(['type' => MeetingNote::TYPE_GUEST]); | |
| } | |
| public function adminType() | |
| { | |
| return $this->andWhere(['type' => MeetingNote::TYPE_ADMIN]); | |
| } | |
| } |