add_holidays

This commit is contained in:
SoHardKI
2019-07-16 11:58:05 +03:00
parent 3af5bcab71
commit e961c3f35f
15 changed files with 491 additions and 0 deletions

View File

@ -2,6 +2,7 @@
namespace common\models;
use common\classes\Debug;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
@ -151,4 +152,9 @@ class UserCard extends \yii\db\ActiveRecord
{
return ArrayHelper::map(Skill::find()->all(),'id', 'name');
}
public static function getUserList()
{
return ArrayHelper::map(self::find()->all(), 'id', 'fio');
}
}