1234567891011121314151617181920212223242526 |
- <?php
- namespace fphammerle\yii2\auth\clientcert;
- class Subject extends \yii\db\ActiveRecord
- {
- public static function tableName()
- {
- return 'identity_cert_subject';
- }
- // public function getIdentityId()
- // {
- // return $this->identity_id;
- // }
- // public static function getIdentityClass()
- // {
- // return \Yii::$app->user->identityClass;
- // }
- //
- // public function getIdentity()
- // {
- // return $this->hasOne(self::getIdentityClass(), ['id' => 'identity_id']);
- // }
- }
|