From d61068401010a9cdfb8335a675437ea19b4ddad0 Mon Sep 17 00:00:00 2001 From: vbrazas Date: Wed, 27 Mar 2019 04:02:31 +0200 Subject: [PATCH] [WIP][#66] Update behaviour setted right, CursusUsers is now inserting --- helpers/Auth42.php | 2 +- helpers/RememberUserInfo.php | 53 +- models/CursusUsers.php | 70 + my_info.php | 2867 +--------------------------------- views/layouts/main.php | 2 +- 5 files changed, 152 insertions(+), 2842 deletions(-) create mode 100644 models/CursusUsers.php diff --git a/helpers/Auth42.php b/helpers/Auth42.php index 8f9c8ad..464e943 100644 --- a/helpers/Auth42.php +++ b/helpers/Auth42.php @@ -83,7 +83,7 @@ public function fetchMe($params) ->setHeaders($params); $response = $this->sendRequest($request); - RememberUserInfo::rememberAll($response); + (new RememberUserInfo($response))->rememberAll(); $profileLink = '/pools/'; if (isset($response['cursus_users'])) { diff --git a/helpers/RememberUserInfo.php b/helpers/RememberUserInfo.php index 611d0fc..2352fa8 100644 --- a/helpers/RememberUserInfo.php +++ b/helpers/RememberUserInfo.php @@ -4,33 +4,60 @@ use Yii; use app\models\Xlogins; +use app\models\Skills; +use app\models\CursusUsers; class RememberUserInfo { - public static function rememberAll($response = null) + + public $response = null; + + public function __construct($response = null) + { + $this->response = $response; + } + + public function rememberAll() { - if ($response === null) { + if ($this->response === null) { return ; } - static::rememberLevel($response); - static::rememberXlogin($response); + $this->rememberLevel(); + $this->rememberXlogin(); + $this->rememberCursusUsersAndSkills(); } - private static function rememberLevel($response) + private function rememberLevel() { - $session = Yii::$app->session; - if (!$session->isActive) { - $session->open(); - } - $session->set('level', $response['cursus_users'][0]['level']); + Yii::$app->session->set('level', $this->response['cursus_users'][0]['level']); } - private static function rememberXlogin($response) + private function rememberXlogin() { $xlogins = new Xlogins(); - $xlogins->attributes = $xlogins->findOne(['xid' => $response['id']]); - $xlogins->attributes = $response; + $xlogins = $xlogins->findOne(['xid' => $this->response['id']]); + $xlogins->attributes = $this->response; $xlogins->save(false); } + + private function rememberCursusUsersAndSkills() + { + $cursusUsers = new CursusUsers(); + $skills = new Skills(); + $cursus_users = $this->response['cursus_users']; + + $skills->attributes = $skills->findOne(['xlogin' => $this->response['login']]); // ? Is this check considers enough? + + $cursus_users[0]['grade'] = 'lol'; + foreach ($cursus_users as $v) { + // foreach ($v['skills'] as $k => $v) { + // + // } + $cursusUsers = $cursusUsers->findOne(['cursus_users_id' => $v['id']]); + $v['begin_at'] = date('Y-m-d H:i:s', strtotime($v['begin_at'])); // ! normilizing time format for mySQL + $cursusUsers->attributes = $v; + $cursusUsers->save(false); + } + } } diff --git a/models/CursusUsers.php b/models/CursusUsers.php new file mode 100644 index 0000000..05e7d08 --- /dev/null +++ b/models/CursusUsers.php @@ -0,0 +1,70 @@ + 12], + [['name', 'slug', 'grade'], 'string', 'max' => 255], + ]; + } + + /** + * {@inheritdoc} + */ + public function attributeLabels() + { + return [ + 'id' => Yii::t('app', 'ID'), + 'xlogin' => Yii::t('app', 'Xlogin'), + 'cursus_id' => Yii::t('app', 'Cursus ID'), + 'begin_at' => Yii::t('app', 'Begin At'), + 'created_at' => Yii::t('app', 'Created At'), + 'name' => Yii::t('app', 'Name'), + 'slug' => Yii::t('app', 'Slug'), + 'end_at' => Yii::t('app', 'End At'), + 'grade' => Yii::t('app', 'Grade'), + 'has_coalition' => Yii::t('app', 'Has Coalition'), + 'cursus_users_id' => Yii::t('app', 'Cursus Users ID'), + 'level' => Yii::t('app', 'Level'), + 'xid' => Yii::t('app', 'Xid'), + ]; + } +} diff --git a/my_info.php b/my_info.php index 1e42bc0..0808f20 100644 --- a/my_info.php +++ b/my_info.php @@ -33,2374 +33,61 @@ 'name' => 'Algorithms & AI', 'level' => 10.55, ), - 1 => - array ( - 'id' => 6, - 'name' => 'Web', - 'level' => 8.33, - ), - 2 => - array ( - 'id' => 3, - 'name' => 'Rigor', - 'level' => 5.58, - ), - 3 => - array ( - 'id' => 4, - 'name' => 'Unix', - 'level' => 5.09, - ), - 4 => - array ( - 'id' => 2, - 'name' => 'Imperative programming', - 'level' => 5.08, - ), - 5 => - array ( - 'id' => 12, - 'name' => 'DB & Data', - 'level' => 4.88, - ), - 6 => - array ( - 'id' => 7, - 'name' => 'Group & interpersonal', - 'level' => 4.8, - ), - 7 => - array ( - 'id' => 17, - 'name' => 'Object-oriented programming', - 'level' => 3.51, - ), - 8 => - array ( - 'id' => 10, - 'name' => 'Network & system administration', - 'level' => 3.02, - ), - 9 => - array ( - 'id' => 14, - 'name' => 'Adaptation & creativity', - 'level' => 2.63, - ), - 10 => - array ( - 'id' => 11, - 'name' => 'Security', - 'level' => 2.4, - ), - 11 => - array ( - 'id' => 13, - 'name' => 'Organization', - 'level' => 1.21, - ), - 12 => - array ( - 'id' => 15, - 'name' => 'Technology integration', - 'level' => 0.15, - ), - ), - 'id' => 30854, - 'begin_at' => '2017-10-23T05:42:00.000Z', - 'end_at' => NULL, - 'cursus_id' => 1, - 'has_coalition' => true, - 'user' => - array ( - 'id' => 27991, - 'login' => 'vbrazas', - 'url' => 'https://api.intra.42.fr/v2/users/vbrazas', - ), - 'cursus' => - array ( - 'id' => 1, - 'created_at' => '2014-11-02T16:43:38.480Z', - 'name' => '42', - 'slug' => '42', - ), - ), - 1 => - array ( - 'grade' => NULL, - 'level' => 2.59, - 'skills' => - array ( - 0 => - array ( - 'id' => 1, - 'name' => 'Algorithms & AI', - 'level' => 3.2, - ), - 1 => - array ( - 'id' => 3, - 'name' => 'Rigor', - 'level' => 2.4, - ), - 2 => - array ( - 'id' => 4, - 'name' => 'Unix', - 'level' => 1.5, - ), - 3 => - array ( - 'id' => 7, - 'name' => 'Group & interpersonal', - 'level' => 0.74, - ), - ), - 'id' => 23298, - 'begin_at' => '2017-07-24T05:42:00.000Z', - 'end_at' => '2017-08-19T17:31:23.110Z', - 'cursus_id' => 4, - 'has_coalition' => true, - 'user' => - array ( - 'id' => 27991, - 'login' => 'vbrazas', - 'url' => 'https://api.intra.42.fr/v2/users/vbrazas', - ), - 'cursus' => - array ( - 'id' => 4, - 'created_at' => '2015-05-01T17:46:08.433Z', - 'name' => 'Piscine C', - 'slug' => 'piscine-c', - ), - ), - ), - 'projects_users' => - array ( - 0 => - array ( - 'id' => 570211, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1636139, - 'project' => - array ( - 'id' => 154, - 'name' => 'Day 00', - 'slug' => 'piscine-c-day-00', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-27T13:34:13.654Z', - 'marked' => true, - ), - 1 => - array ( - 'id' => 571498, - 'occurrence' => 0, - 'final_mark' => 20, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1638100, - 'project' => - array ( - 'id' => 155, - 'name' => 'Day 01', - 'slug' => 'piscine-c-day-01', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-27T20:46:31.130Z', - 'marked' => true, - ), - 2 => - array ( - 'id' => 571712, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1638328, - 'project' => - array ( - 'id' => 158, - 'name' => 'Day 04', - 'slug' => 'piscine-c-day-04', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-30T18:41:11.582Z', - 'marked' => true, - ), - 3 => - array ( - 'id' => 571710, - 'occurrence' => 0, - 'final_mark' => 20, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1638326, - 'project' => - array ( - 'id' => 156, - 'name' => 'Day 02', - 'slug' => 'piscine-c-day-02', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-28T00:49:51.614Z', - 'marked' => true, - ), - 4 => - array ( - 'id' => 571711, - 'occurrence' => 0, - 'final_mark' => 35, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1638327, - 'project' => - array ( - 'id' => 157, - 'name' => 'Day 03', - 'slug' => 'piscine-c-day-03', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-29T14:27:34.551Z', - 'marked' => true, - ), - 5 => - array ( - 'id' => 573399, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1640456, - 'project' => - array ( - 'id' => 404, - 'name' => 'Exam00', - 'slug' => 'piscine-c-exam00', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-28T14:04:30.824Z', - 'marked' => true, - ), - 6 => - array ( - 'id' => 575359, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1645058, - 'project' => - array ( - 'id' => 171, - 'name' => 'Sastantua', - 'slug' => 'piscine-c-sastantua', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-07-31T22:24:10.916Z', - 'marked' => true, - ), - 7 => - array ( - 'id' => 575361, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1645059, - 'project' => - array ( - 'id' => 159, - 'name' => 'Day 05', - 'slug' => 'piscine-c-day-05', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-02T11:53:46.673Z', - 'marked' => true, - ), - 8 => - array ( - 'id' => 575360, - 'occurrence' => 0, - 'final_mark' => -42, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1645130, - 'project' => - array ( - 'id' => 168, - 'name' => 'Rush 00', - 'slug' => 'piscine-c-rush-00', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-02T17:46:17.324Z', - 'marked' => true, - ), - 9 => - array ( - 'id' => 575552, - 'occurrence' => 0, - 'final_mark' => 70, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1645380, - 'project' => - array ( - 'id' => 160, - 'name' => 'Day 06', - 'slug' => 'piscine-c-day-06', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-03T10:13:58.444Z', - 'marked' => true, - ), - 10 => - array ( - 'id' => 576434, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1646323, - 'project' => - array ( - 'id' => 162, - 'name' => 'Day 08', - 'slug' => 'piscine-c-day-08', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-06T20:45:53.477Z', - 'marked' => true, - ), - 11 => - array ( - 'id' => 576432, - 'occurrence' => 0, - 'final_mark' => 30, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1646321, - 'project' => - array ( - 'id' => 161, - 'name' => 'Day 07', - 'slug' => 'piscine-c-day-07', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-04T08:40:04.848Z', - 'marked' => true, - ), - 12 => - array ( - 'id' => 776370, - 'occurrence' => 2, - 'final_mark' => 125, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1986115, - 'project' => - array ( - 'id' => 985, - 'name' => 'ft_ssl_des', - 'slug' => 'ft_ssl_des', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-06-01T14:53:53.057Z', - 'marked' => true, - ), - 13 => - array ( - 'id' => 724704, - 'occurrence' => 2, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1816200, - 'project' => - array ( - 'id' => 817, - 'name' => '42 Commandements', - 'slug' => '42-formation-pole-emploi-42-commandements', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2017-10-23T10:24:30.446Z', - 'marked' => true, - ), - 14 => - array ( - 'id' => 725399, - 'occurrence' => 5, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1821686, - 'project' => - array ( - 'id' => 756, - 'name' => 'Piscine Reloaded', - 'slug' => 'piscine-reloaded', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2017-10-27T19:32:29.757Z', - 'marked' => true, - ), - 15 => - array ( - 'id' => 582399, - 'occurrence' => 0, - 'final_mark' => 22, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1653085, - 'project' => - array ( - 'id' => 405, - 'name' => 'Exam01', - 'slug' => 'piscine-c-exam01', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-04T19:00:56.834Z', - 'marked' => true, - ), - 16 => - array ( - 'id' => 582400, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1653089, - 'project' => - array ( - 'id' => 172, - 'name' => 'Match-N-Match', - 'slug' => 'piscine-c-match-n-match', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-07T22:05:24.745Z', - 'marked' => true, - ), - 17 => - array ( - 'id' => 584028, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655065, - 'project' => - array ( - 'id' => 185, - 'name' => '01', - 'slug' => 'piscine-c-day-09-01', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:36.231Z', - 'marked' => true, - ), - 18 => - array ( - 'id' => 584040, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655077, - 'project' => - array ( - 'id' => 201, - 'name' => '17', - 'slug' => 'piscine-c-day-09-17', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:42.511Z', - 'marked' => true, - ), - 19 => - array ( - 'id' => 584029, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655066, - 'project' => - array ( - 'id' => 186, - 'name' => '02', - 'slug' => 'piscine-c-day-09-02', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:36.771Z', - 'marked' => true, - ), - 20 => - array ( - 'id' => 584039, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655076, - 'project' => - array ( - 'id' => 202, - 'name' => '18', - 'slug' => 'piscine-c-day-09-18', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:41.975Z', - 'marked' => true, - ), - 21 => - array ( - 'id' => 584048, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655085, - 'project' => - array ( - 'id' => 193, - 'name' => '09', - 'slug' => 'piscine-c-day-09-09', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:47.570Z', - 'marked' => true, - ), - 22 => - array ( - 'id' => 584034, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655071, - 'project' => - array ( - 'id' => 207, - 'name' => '23', - 'slug' => 'piscine-c-day-09-23', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:39.071Z', - 'marked' => true, - ), - 23 => - array ( - 'id' => 584051, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655088, - 'project' => - array ( - 'id' => 190, - 'name' => '06', - 'slug' => 'piscine-c-day-09-06', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:49.242Z', - 'marked' => true, - ), - 24 => - array ( - 'id' => 584037, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655074, - 'project' => - array ( - 'id' => 204, - 'name' => '20', - 'slug' => 'piscine-c-day-09-20', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:40.819Z', - 'marked' => true, - ), - 25 => - array ( - 'id' => 584049, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655086, - 'project' => - array ( - 'id' => 192, - 'name' => '08', - 'slug' => 'piscine-c-day-09-08', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:48.136Z', - 'marked' => true, - ), - 26 => - array ( - 'id' => 584036, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655073, - 'project' => - array ( - 'id' => 205, - 'name' => '21', - 'slug' => 'piscine-c-day-09-21', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:40.238Z', - 'marked' => true, - ), - 27 => - array ( - 'id' => 584043, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655080, - 'project' => - array ( - 'id' => 196, - 'name' => '12', - 'slug' => 'piscine-c-day-09-12', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:44.221Z', - 'marked' => true, - ), - 28 => - array ( - 'id' => 584047, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655084, - 'project' => - array ( - 'id' => 194, - 'name' => '10', - 'slug' => 'piscine-c-day-09-10', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:46.977Z', - 'marked' => true, - ), - 29 => - array ( - 'id' => 584046, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655083, - 'project' => - array ( - 'id' => 195, - 'name' => '11', - 'slug' => 'piscine-c-day-09-11', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:46.414Z', - 'marked' => true, - ), - 30 => - array ( - 'id' => 584031, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655068, - 'project' => - array ( - 'id' => 188, - 'name' => '04', - 'slug' => 'piscine-c-day-09-04', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:37.856Z', - 'marked' => true, - ), - 31 => - array ( - 'id' => 584042, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655079, - 'project' => - array ( - 'id' => 199, - 'name' => '15', - 'slug' => 'piscine-c-day-09-15', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:43.640Z', - 'marked' => true, - ), - 32 => - array ( - 'id' => 584032, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655069, - 'project' => - array ( - 'id' => 189, - 'name' => '05', - 'slug' => 'piscine-c-day-09-05', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:38.479Z', - 'marked' => true, - ), - 33 => - array ( - 'id' => 584030, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655067, - 'project' => - array ( - 'id' => 187, - 'name' => '03', - 'slug' => 'piscine-c-day-09-03', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:37.353Z', - 'marked' => true, - ), - 34 => - array ( - 'id' => 584027, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655064, - 'project' => - array ( - 'id' => 175, - 'name' => '00', - 'slug' => 'piscine-c-day-09-00', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:35.694Z', - 'marked' => true, - ), - 35 => - array ( - 'id' => 584050, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655087, - 'project' => - array ( - 'id' => 191, - 'name' => '07', - 'slug' => 'piscine-c-day-09-07', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:48.660Z', - 'marked' => true, - ), - 36 => - array ( - 'id' => 584041, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655078, - 'project' => - array ( - 'id' => 200, - 'name' => '16', - 'slug' => 'piscine-c-day-09-16', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:43.109Z', - 'marked' => true, - ), - 37 => - array ( - 'id' => 584038, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655075, - 'project' => - array ( - 'id' => 203, - 'name' => '19', - 'slug' => 'piscine-c-day-09-19', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:41.392Z', - 'marked' => true, - ), - 38 => - array ( - 'id' => 584044, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655081, - 'project' => - array ( - 'id' => 198, - 'name' => '14', - 'slug' => 'piscine-c-day-09-14', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:45.373Z', - 'marked' => true, - ), - 39 => - array ( - 'id' => 578214, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1648361, - 'project' => - array ( - 'id' => 167, - 'name' => 'Day 09', - 'slug' => 'piscine-c-day-09', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-06T14:25:15.761Z', - 'marked' => true, - ), - 40 => - array ( - 'id' => 589328, - 'occurrence' => 0, - 'final_mark' => 40, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1661128, - 'project' => - array ( - 'id' => 163, - 'name' => 'Day 10', - 'slug' => 'piscine-c-day-10', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-09T13:40:02.849Z', - 'marked' => true, - ), - 41 => - array ( - 'id' => 591161, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1663408, - 'project' => - array ( - 'id' => 164, - 'name' => 'Day 11', - 'slug' => 'piscine-c-day-11', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-10T15:36:34.285Z', - 'marked' => true, - ), - 42 => - array ( - 'id' => 589326, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1662546, - 'project' => - array ( - 'id' => 169, - 'name' => 'Rush 01', - 'slug' => 'piscine-c-rush-01', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-09T12:45:10.615Z', - 'marked' => true, - ), - 43 => - array ( - 'id' => 597690, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1671772, - 'project' => - array ( - 'id' => 174, - 'name' => 'BSQ', - 'slug' => 'piscine-c-bsq', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T10:54:36.426Z', - 'marked' => true, - ), - 44 => - array ( - 'id' => 597697, - 'occurrence' => 0, - 'final_mark' => 27, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1671408, - 'project' => - array ( - 'id' => 406, - 'name' => 'Exam02', - 'slug' => 'piscine-c-exam02', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-11T15:00:52.535Z', - 'marked' => true, - ), - 45 => - array ( - 'id' => 597696, - 'occurrence' => 0, - 'final_mark' => 35, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1671407, - 'project' => - array ( - 'id' => 165, - 'name' => 'Day 12', - 'slug' => 'piscine-c-day-12', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-11T17:20:10.796Z', - 'marked' => true, - ), - 46 => - array ( - 'id' => 609369, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1683491, - 'project' => - array ( - 'id' => 173, - 'name' => 'EvalExpr', - 'slug' => 'piscine-c-evalexpr', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-14T16:22:27.703Z', - 'marked' => true, - ), - 47 => - array ( - 'id' => 618544, - 'occurrence' => 0, - 'final_mark' => 17, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1694402, - 'project' => - array ( - 'id' => 407, - 'name' => 'Exam Final', - 'slug' => 'piscine-c-exam-final', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-18T15:00:28.344Z', - 'marked' => true, - ), - 48 => - array ( - 'id' => 584035, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655072, - 'project' => - array ( - 'id' => 206, - 'name' => '22', - 'slug' => 'piscine-c-day-09-22', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:39.679Z', - 'marked' => true, - ), - 49 => - array ( - 'id' => 584045, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1655082, - 'project' => - array ( - 'id' => 197, - 'name' => '13', - 'slug' => 'piscine-c-day-09-13', - 'parent_id' => 167, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2017-08-20T11:39:45.815Z', - 'marked' => true, - ), - 50 => - array ( - 'id' => 744443, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1842089, - 'project' => - array ( - 'id' => 540, - 'name' => 'Fillit', - 'slug' => 'fillit', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2017-12-26T15:53:48.096Z', - 'marked' => true, - ), - 51 => - array ( - 'id' => 750448, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1850055, - 'project' => - array ( - 'id' => 1049, - 'name' => 'UNIT Factory Harassment & Tolerance Policy', - 'slug' => 'unit-factory-harassment-tolerance-policy', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - 1 => 4, - ), - 'marked_at' => '2017-12-02T11:23:40.918Z', - 'marked' => true, - ), - 52 => - array ( - 'id' => 755062, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1856943, - 'project' => - array ( - 'id' => 5, - 'name' => 'ft_printf', - 'slug' => 'ft_printf', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-01-16T17:42:58.746Z', - 'marked' => true, - ), - 53 => - array ( - 'id' => 755044, - 'occurrence' => 0, - 'final_mark' => 125, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1856896, - 'project' => - array ( - 'id' => 2, - 'name' => 'Get_Next_Line', - 'slug' => 'get_next_line', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2017-12-27T11:23:29.057Z', - 'marked' => true, - ), - 54 => - array ( - 'id' => 792095, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1900072, - 'project' => - array ( - 'id' => 687, - 'name' => 'init', - 'slug' => 'init', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-02-18T11:10:12.412Z', - 'marked' => true, - ), - 55 => - array ( - 'id' => 799445, - 'occurrence' => 0, - 'final_mark' => 115, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1908178, - 'project' => - array ( - 'id' => 3, - 'name' => 'ft_ls', - 'slug' => 'ft_ls', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-04-01T13:04:38.346Z', - 'marked' => true, - ), - 56 => - array ( - 'id' => 833538, - 'occurrence' => 1, - 'final_mark' => 119, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2285164, - 'project' => - array ( - 'id' => 59, - 'name' => 'Rush00', - 'slug' => 'piscine-php-rush00', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-18T07:57:58.662Z', - 'marked' => true, - ), - 57 => - array ( - 'id' => 834493, - 'occurrence' => 1, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2287342, - 'project' => - array ( - 'id' => 55, - 'name' => 'Day 06', - 'slug' => '42-piscine-c-formation-piscine-php-day-06', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-04-29T21:00:32.703Z', - 'marked' => true, - ), - 58 => - array ( - 'id' => 834590, - 'occurrence' => 1, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2287343, - 'project' => - array ( - 'id' => 56, - 'name' => 'Day 07', - 'slug' => '42-piscine-c-formation-piscine-php-day-07', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-26T07:08:43.242Z', - 'marked' => true, - ), - 59 => - array ( - 'id' => 837086, - 'occurrence' => 0, - 'final_mark' => 104, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1954810, - 'project' => - array ( - 'id' => 26, - 'name' => 'Filler', - 'slug' => 'filler', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-05-22T17:45:45.667Z', - 'marked' => true, - ), - 60 => - array ( - 'id' => 843865, - 'occurrence' => 0, - 'final_mark' => 91, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1964227, - 'project' => - array ( - 'id' => 537, - 'name' => 'Camagru', - 'slug' => 'camagru', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-05-20T14:02:51.669Z', - 'marked' => true, - ), - 61 => - array ( - 'id' => 724757, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'parent', - 'validated?' => NULL, - 'current_team_id' => NULL, - 'project' => - array ( - 'id' => 61, - 'name' => 'Rushes', - 'slug' => 'rushes', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 62 => - array ( - 'id' => 856290, - 'occurrence' => 0, - 'final_mark' => 111, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1978143, - 'project' => - array ( - 'id' => 29, - 'name' => 'Lem_in', - 'slug' => 'lem_in', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-06-01T17:15:24.501Z', - 'marked' => true, - ), - 63 => - array ( - 'id' => 863836, - 'occurrence' => 0, - 'final_mark' => 120, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1986278, - 'project' => - array ( - 'id' => 18, - 'name' => 'Introduction to iOS', - 'slug' => 'rushes-introduction-to-ios', - 'parent_id' => 61, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-06-04T12:39:46.309Z', - 'marked' => true, - ), - 64 => - array ( - 'id' => 870551, - 'occurrence' => 0, - 'final_mark' => 94, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1993643, - 'project' => - array ( - 'id' => 62, - 'name' => 'Piscine CPP', - 'slug' => 'piscine-cpp', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-13T17:15:16.973Z', - 'marked' => true, - ), - 65 => - array ( - 'id' => 870552, - 'occurrence' => 0, - 'final_mark' => 93, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1993644, - 'project' => - array ( - 'id' => 63, - 'name' => 'Day 00', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-00', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-06-25T13:50:59.160Z', - 'marked' => true, - ), - 66 => - array ( - 'id' => 871003, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1994173, - 'project' => - array ( - 'id' => 64, - 'name' => 'Day 01', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-01', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-06-25T15:17:56.553Z', - 'marked' => true, - ), - 67 => - array ( - 'id' => 872266, - 'occurrence' => 0, - 'final_mark' => 30, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1996216, - 'project' => - array ( - 'id' => 66, - 'name' => 'Day 03', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-03', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-06T20:43:22.121Z', - 'marked' => true, - ), - 68 => - array ( - 'id' => 872265, - 'occurrence' => 0, - 'final_mark' => 70, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1996215, - 'project' => - array ( - 'id' => 65, - 'name' => 'Day 02', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-02', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-04T13:53:10.260Z', - 'marked' => true, - ), - 69 => - array ( - 'id' => 877654, - 'occurrence' => 0, - 'final_mark' => 90, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2001950, - 'project' => - array ( - 'id' => 73, - 'name' => 'Day 08', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-08', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-13T17:15:17.091Z', - 'marked' => true, - ), - 70 => - array ( - 'id' => 877652, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2001948, - 'project' => - array ( - 'id' => 71, - 'name' => 'Day 06', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-06', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-03T16:40:03.501Z', - 'marked' => true, - ), - 71 => - array ( - 'id' => 877653, - 'occurrence' => 0, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2001949, - 'project' => - array ( - 'id' => 72, - 'name' => 'Day 07', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-07', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-04T12:58:11.768Z', - 'marked' => true, - ), - 72 => - array ( - 'id' => 881906, - 'occurrence' => 0, - 'final_mark' => 121, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2007763, - 'project' => - array ( - 'id' => 76, - 'name' => 'Rush01', - 'slug' => 'piscine-cpp-rush01', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-03T18:55:26.778Z', - 'marked' => true, - ), - 73 => - array ( - 'id' => 884345, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2009274, - 'project' => - array ( - 'id' => 68, - 'name' => 'Exam00', - 'slug' => 'piscine-cpp-exam00', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-01T20:48:18.025Z', - 'marked' => true, - ), - 74 => - array ( - 'id' => 884347, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2009276, - 'project' => - array ( - 'id' => 70, - 'name' => 'Day 05', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-05', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-15T21:03:51.286Z', - 'marked' => true, - ), - 75 => - array ( - 'id' => 884349, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2009278, - 'project' => - array ( - 'id' => 75, - 'name' => 'Exam01', - 'slug' => 'piscine-cpp-exam01', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-01T20:48:21.578Z', - 'marked' => true, - ), - 76 => - array ( - 'id' => 875373, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1999389, - 'project' => - array ( - 'id' => 67, - 'name' => 'Day 04', - 'slug' => '42-piscine-c-formation-piscine-cpp-day-04', - 'parent_id' => 62, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-08T00:42:47.996Z', - 'marked' => true, - ), - 77 => - array ( - 'id' => 971156, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'creating_group', - 'validated?' => NULL, - 'current_team_id' => 2142160, - 'project' => - array ( - 'id' => 914, - 'name' => 'KIFT', - 'slug' => 'kift', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 78 => - array ( - 'id' => 864246, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'in_progress', - 'validated?' => NULL, - 'current_team_id' => 1986114, - 'project' => - array ( - 'id' => 984, - 'name' => 'ft_ssl_md5', - 'slug' => 'ft_ssl_md5', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 79 => - array ( - 'id' => 864674, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'in_progress', - 'validated?' => NULL, - 'current_team_id' => 1986753, - 'project' => - array ( - 'id' => 983, - 'name' => 'ft_ssl_rsa', - 'slug' => 'ft_ssl_rsa', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 80 => - array ( - 'id' => 864676, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'in_progress', - 'validated?' => NULL, - 'current_team_id' => 1986755, - 'project' => - array ( - 'id' => 847, - 'name' => 'docker-1', - 'slug' => 'docker-1', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 81 => - array ( - 'id' => 1075248, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'in_progress', - 'validated?' => NULL, - 'current_team_id' => 2228924, - 'project' => - array ( - 'id' => 1199, - 'name' => 'uf_bird', - 'slug' => 'uf_bird', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 82 => - array ( - 'id' => 876267, - 'occurrence' => 0, - 'final_mark' => 125, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2013900, - 'project' => - array ( - 'id' => 22, - 'name' => 'Corewar', - 'slug' => 'corewar', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-20T16:25:21.869Z', - 'marked' => true, - ), - 83 => - array ( - 'id' => 609373, - 'occurrence' => 0, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 1689649, - 'project' => - array ( - 'id' => 170, - 'name' => 'Rush 02', - 'slug' => 'piscine-c-rush-02', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 4, - ), - 'marked_at' => '2018-07-30T11:57:08.755Z', - 'marked' => true, - ), - 84 => - array ( - 'id' => 724755, - 'occurrence' => 7, - 'final_mark' => 93, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 1858769, - 'project' => - array ( - 'id' => 11, - 'name' => 'C Exam Alone In The Dark - Beginner', - 'slug' => 'c-exam-alone-in-the-dark-beginner', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-01-19T15:39:03.059Z', - 'marked' => true, - ), - 85 => - array ( - 'id' => 938792, - 'occurrence' => 0, - 'final_mark' => 108, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2072344, - 'project' => - array ( - 'id' => 30, - 'name' => 'Pipex', - 'slug' => 'rush-c-pipex', - 'parent_id' => 61, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-07-31T16:21:01.596Z', - 'marked' => true, - ), - 86 => - array ( - 'id' => 1091757, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'in_progress', - 'validated?' => NULL, - 'current_team_id' => 2248846, - 'project' => - array ( - 'id' => 4, - 'name' => 'FdF', - 'slug' => 'fdf', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => NULL, - 'marked' => false, - ), - 87 => - array ( - 'id' => 830695, - 'occurrence' => 1, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2275704, - 'project' => - array ( - 'id' => 50, - 'name' => 'Day 01', - 'slug' => '42-piscine-c-formation-piscine-php-day-01', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-11T19:02:08.693Z', - 'marked' => true, - ), - 88 => - array ( - 'id' => 831160, - 'occurrence' => 1, - 'final_mark' => 105, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2280014, - 'project' => - array ( - 'id' => 51, - 'name' => 'Day 02', - 'slug' => '42-piscine-c-formation-piscine-php-day-02', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-16T11:24:23.551Z', - 'marked' => true, - ), - 89 => - array ( - 'id' => 831751, - 'occurrence' => 1, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2280015, - 'project' => - array ( - 'id' => 52, - 'name' => 'Day 03', - 'slug' => '42-piscine-c-formation-piscine-php-day-03', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-26T07:25:32.780Z', - 'marked' => true, - ), - 90 => - array ( - 'id' => 832304, - 'occurrence' => 1, - 'final_mark' => 80, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2280016, - 'project' => - array ( - 'id' => 53, - 'name' => 'Day 04', - 'slug' => '42-piscine-c-formation-piscine-php-day-04', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-28T19:54:52.711Z', - 'marked' => true, - ), - 91 => - array ( - 'id' => 834246, - 'occurrence' => 1, - 'final_mark' => 90, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2284585, - 'project' => - array ( - 'id' => 54, - 'name' => 'Day 05', - 'slug' => '42-piscine-c-formation-piscine-php-day-05', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-14T17:23:28.185Z', - 'marked' => true, - ), - 92 => - array ( - 'id' => 836084, - 'occurrence' => 1, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2289649, - 'project' => - array ( - 'id' => 57, - 'name' => 'Day 08', - 'slug' => '42-piscine-c-formation-piscine-php-day-08', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-04-29T20:51:27.929Z', - 'marked' => true, - ), - 93 => - array ( - 'id' => 836924, - 'occurrence' => 1, - 'final_mark' => 100, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2289650, - 'project' => - array ( - 'id' => 58, - 'name' => 'Day 09', - 'slug' => '42-piscine-c-formation-piscine-php-day-09', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-26T10:42:01.274Z', - 'marked' => true, - ), - 94 => - array ( - 'id' => 837247, - 'occurrence' => 1, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2292646, - 'project' => - array ( - 'id' => 60, - 'name' => 'Rush01', - 'slug' => 'piscine-php-rush01', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-04-30T09:50:52.512Z', - 'marked' => true, - ), - 95 => - array ( - 'id' => 830315, - 'occurrence' => 1, - 'final_mark' => 0, - 'status' => 'finished', - 'validated?' => false, - 'current_team_id' => 2292641, - 'project' => - array ( - 'id' => 49, - 'name' => 'Day 00', - 'slug' => '42-piscine-c-formation-piscine-php-day-00', - 'parent_id' => 48, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-10-14T20:43:16.504Z', - 'marked' => true, - ), - 96 => - array ( - 'id' => 830313, - 'occurrence' => 1, - 'final_mark' => 104, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2271950, - 'project' => - array ( - 'id' => 48, - 'name' => 'Piscine PHP', - 'slug' => 'piscine-php', - 'parent_id' => NULL, ), - 'cursus_ids' => + 'id' => 30854, + 'begin_at' => '2017-10-23T05:42:00.000Z', + 'end_at' => NULL, + 'cursus_id' => 1, + 'has_coalition' => true, + 'user' => array ( - 0 => 1, + 'id' => 27991, + 'login' => 'vbrazas', + 'url' => 'https://api.intra.42.fr/v2/users/vbrazas', ), - 'marked_at' => '2018-10-28T20:47:17.929Z', - 'marked' => true, - ), - 97 => - array ( - 'id' => 729329, - 'occurrence' => 3, - 'final_mark' => 125, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2423785, - 'project' => + 'cursus' => array ( 'id' => 1, - 'name' => 'Libft', - 'slug' => 'libft', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, - ), - 'marked_at' => '2018-02-10T15:53:50.899Z', - 'marked' => true, - ), - 98 => - array ( - 'id' => 1246463, - 'occurrence' => 0, - 'final_mark' => NULL, - 'status' => 'waiting_for_correction', - 'validated?' => NULL, - 'current_team_id' => 2423779, - 'project' => - array ( - 'id' => 902, - 'name' => 'Curriculum Vitae', - 'slug' => 'curriculum-vitae', - 'parent_id' => NULL, - ), - 'cursus_ids' => - array ( - 0 => 1, + 'created_at' => '2014-11-02T16:43:38.480Z', + 'name' => '42', + 'slug' => '42', ), - 'marked_at' => NULL, - 'marked' => false, ), - 99 => + 1 => array ( - 'id' => 1157307, - 'occurrence' => 0, - 'final_mark' => 125, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2283576, - 'project' => - array ( - 'id' => 596, - 'name' => 'Matcha', - 'slug' => 'matcha', - 'parent_id' => NULL, - ), - 'cursus_ids' => + 'grade' => NULL, + 'level' => 2.59, + 'skills' => array ( - 0 => 1, + 0 => + array ( + 'id' => 1, + 'name' => 'Algorithms & AI', + 'level' => 3.2, + ), ), - 'marked_at' => '2018-11-01T11:16:48.546Z', - 'marked' => true, - ), - 100 => - array ( - 'id' => 1169031, - 'occurrence' => 0, - 'final_mark' => 122, - 'status' => 'finished', - 'validated?' => true, - 'current_team_id' => 2285611, - 'project' => + 'id' => 23298, + 'begin_at' => '2017-07-24T05:42:00.000Z', + 'end_at' => '2017-08-19T17:31:23.110Z', + 'cursus_id' => 4, + 'has_coalition' => true, + 'user' => array ( - 'id' => 597, - 'name' => 'Hypertube', - 'slug' => 'hypertube', - 'parent_id' => NULL, + 'id' => 27991, + 'login' => 'vbrazas', + 'url' => 'https://api.intra.42.fr/v2/users/vbrazas', ), - 'cursus_ids' => + 'cursus' => array ( - 0 => 1, + 'id' => 4, + 'created_at' => '2015-05-01T17:46:08.433Z', + 'name' => 'Piscine C', + 'slug' => 'piscine-c', ), - 'marked_at' => '2018-12-01T15:28:50.321Z', - 'marked' => true, ), + ), + 'projects_users' => + array ( 101 => array ( 'id' => 875374, @@ -2426,30 +113,6 @@ ), 'languages_users' => array ( - 0 => - array ( - 'id' => 103858, - 'language_id' => 2, - 'user_id' => 27991, - 'position' => 1, - 'created_at' => '2018-07-18T17:04:44.484Z', - ), - 1 => - array ( - 'id' => 103859, - 'language_id' => 6, - 'user_id' => 27991, - 'position' => 2, - 'created_at' => '2018-07-18T17:04:44.559Z', - ), - 2 => - array ( - 'id' => 103860, - 'language_id' => 1, - 'user_id' => 27991, - 'position' => 3, - 'created_at' => '2018-07-18T17:04:44.633Z', - ), 3 => array ( 'id' => 103861, @@ -2473,306 +136,6 @@ 'nbr_of_success' => NULL, 'users_url' => 'https://api.intra.42.fr/v2/achievements/40/users', ), - 1 => - array ( - 'id' => 169, - 'name' => 'Bill Gates', - 'description' => 'Avoir donné 1 point de correction au pool.', - 'tier' => 'none', - 'kind' => 'scolarity', - 'visible' => true, - 'image' => '/uploads/achievement/image/169/BADGE_SCOLARITY_billgates.svg', - 'nbr_of_success' => 1, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/169/users', - ), - 2 => - array ( - 'id' => 17, - 'name' => 'Bonus Hunter', - 'description' => 'Valider 1 projet avec la note maximum.', - 'tier' => 'easy', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/17/PRO005.svg', - 'nbr_of_success' => 1, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/17/users', - ), - 3 => - array ( - 'id' => 18, - 'name' => 'Bonus Hunter', - 'description' => 'Valider 3 projets avec la note maximum.', - 'tier' => 'medium', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/18/PRO005.svg', - 'nbr_of_success' => 3, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/18/users', - ), - 4 => - array ( - 'id' => 4, - 'name' => 'Code Explorer', - 'description' => 'Valider son premier projet.', - 'tier' => 'none', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/4/PRO002.svg', - 'nbr_of_success' => 1, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/4/users', - ), - 5 => - array ( - 'id' => 5, - 'name' => 'Code Explorer', - 'description' => 'Valider 3 projets.', - 'tier' => 'none', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/5/PRO002.svg', - 'nbr_of_success' => 3, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/5/users', - ), - 6 => - array ( - 'id' => 6, - 'name' => 'Code Explorer', - 'description' => 'Valider 10 projets.', - 'tier' => 'none', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/6/PRO002.svg', - 'nbr_of_success' => 10, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/6/users', - ), - 7 => - array ( - 'id' => 44, - 'name' => 'Curious wanderer', - 'description' => 'S\'être logué une fois dans chaque cluster.', - 'tier' => 'none', - 'kind' => 'scolarity', - 'visible' => true, - 'image' => '/uploads/achievement/image/44/SCO002.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/44/users', - ), - 8 => - array ( - 'id' => 46, - 'name' => 'Film buff', - 'description' => 'Regarder 1 video sur l\'e-learning.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/46/PED005.svg', - 'nbr_of_success' => 1, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/46/users', - ), - 9 => - array ( - 'id' => 47, - 'name' => 'Film buff', - 'description' => 'Regarder 3 videos sur l\'e-learning.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/47/PED005.svg', - 'nbr_of_success' => 3, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/47/users', - ), - 10 => - array ( - 'id' => 48, - 'name' => 'Film buff', - 'description' => 'Regarder 10 videos sur l\'e-learning.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/48/PED005.svg', - 'nbr_of_success' => 10, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/48/users', - ), - 11 => - array ( - 'id' => 49, - 'name' => 'Film buff', - 'description' => 'Regarder 21 videos sur l\'e-learning.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/49/PED005.svg', - 'nbr_of_success' => 21, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/49/users', - ), - 12 => - array ( - 'id' => 50, - 'name' => 'Film buff', - 'description' => 'Regarder 42 videos sur l\'e-learning.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/50/PED005.svg', - 'nbr_of_success' => 42, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/50/users', - ), - 13 => - array ( - 'id' => 45, - 'name' => 'Home is where the code is', - 'description' => 'S\'être logué dans le même cluster un mois de suite.', - 'tier' => 'none', - 'kind' => 'scolarity', - 'visible' => true, - 'image' => '/uploads/achievement/image/45/SCO002.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/45/users', - ), - 14 => - array ( - 'id' => 103, - 'name' => 'I am the watcher on the walls', - 'description' => 'Surveiller 1 examen en tant que tuteur.', - 'tier' => 'none', - 'kind' => 'scolarity', - 'visible' => true, - 'image' => '/uploads/achievement/image/103/SCO0016.svg', - 'nbr_of_success' => 1, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/103/users', - ), - 15 => - array ( - 'id' => 82, - 'name' => 'I have no idea what I\'m doing', - 'description' => 'Faire une soutenance sans avoir validé le projet.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/82/PED011.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/82/users', - ), - 16 => - array ( - 'id' => 109, - 'name' => 'I’ll make him an offer he can’t refuse', - 'description' => 'Participer au programme de parrainage en tant que parrain.', - 'tier' => 'none', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/109/PED014.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/109/users', - ), - 17 => - array ( - 'id' => 84, - 'name' => 'I\'m reliable !', - 'description' => 'Participer à 21 soutenances d\'affilée sans en manquer aucune.', - 'tier' => 'easy', - 'kind' => 'pedagogy', - 'visible' => true, - 'image' => '/uploads/achievement/image/84/PED009.svg', - 'nbr_of_success' => 21, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/84/users', - ), - 18 => - array ( - 'id' => 41, - 'name' => 'In the name of Nicolas', - 'description' => 'Etre logué 90h sur une semaine. (à bosser, comme Nicolas vous l\'a conseillé !)', - 'tier' => 'easy', - 'kind' => 'scolarity', - 'visible' => true, - 'image' => '/uploads/achievement/image/41/SCO001.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/41/users', - ), - 19 => - array ( - 'id' => 36, - 'name' => 'It\'s a rich man\'s world', - 'description' => 'Avoir 100 points de wallet.', - 'tier' => 'none', - 'kind' => 'social', - 'visible' => true, - 'image' => '/uploads/achievement/image/36/SOC004.svg', - 'nbr_of_success' => 100, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/36/users', - ), - 20 => - array ( - 'id' => 12, - 'name' => 'Perfectionnist', - 'description' => 'Valider et refaire 1 projet.', - 'tier' => 'none', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/12/PRO004.svg', - 'nbr_of_success' => 1, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/12/users', - ), - 21 => - array ( - 'id' => 25, - 'name' => 'Rigorous Basterd', - 'description' => 'Valider 3 projets d\'affilée (journées de piscines comprises).', - 'tier' => 'none', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/25/PRO010.svg', - 'nbr_of_success' => 3, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/25/users', - ), - 22 => - array ( - 'id' => 26, - 'name' => 'Rigorous Basterd', - 'description' => 'Valider 10 projets d\'affilée (journées de piscines comprises).', - 'tier' => 'easy', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/26/PRO010.svg', - 'nbr_of_success' => 10, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/26/users', - ), - 23 => - array ( - 'id' => 27, - 'name' => 'Rigorous Basterd', - 'description' => 'Valider 21 projets d\'affilée (journées de piscines comprises).', - 'tier' => 'medium', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/27/PRO010.svg', - 'nbr_of_success' => 21, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/27/users', - ), - 24 => - array ( - 'id' => 39, - 'name' => 'Sleep is for the weak', - 'description' => 'Obtenir les achievements "404 - Sleep not found" et "In the name of Nicolas !"', - 'tier' => 'none', - 'kind' => 'scolarity', - 'visible' => true, - 'image' => '/uploads/achievement/image/39/SCO001.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/39/users', - ), - 25 => - array ( - 'id' => 1, - 'name' => 'Welcome, Cadet !', - 'description' => 'Tu as réussi ta piscine C. Bienvenue à 42 !', - 'tier' => 'none', - 'kind' => 'project', - 'visible' => true, - 'image' => '/uploads/achievement/image/1/PRO001.svg', - 'nbr_of_success' => NULL, - 'users_url' => 'https://api.intra.42.fr/v2/achievements/1/users', - ), ), 'titles' => array ( @@ -2809,156 +172,6 @@ 'created_at' => '2018-06-07T09:21:48.253Z', 'updated_at' => '2018-10-21T19:40:32.231Z', ), - 1 => - array ( - 'id' => 1437, - 'user_id' => 44545, - 'godfather_id' => 27991, - 'ongoing' => true, - 'created_at' => '2018-11-05T16:55:29.137Z', - 'updated_at' => '2019-03-21T15:23:16.600Z', - ), - 2 => - array ( - 'id' => 1355, - 'user_id' => 41878, - 'godfather_id' => 27991, - 'ongoing' => true, - 'created_at' => '2018-11-05T16:54:53.100Z', - 'updated_at' => '2018-11-05T16:54:53.139Z', - ), - 3 => - array ( - 'id' => 908, - 'user_id' => 33765, - 'godfather_id' => 27991, - 'ongoing' => true, - 'created_at' => '2018-03-30T00:22:55.631Z', - 'updated_at' => '2018-10-18T15:30:14.140Z', - ), - ), - 'expertises_users' => - array ( - 0 => - array ( - 'id' => 20364, - 'expertise_id' => 44, - 'interested' => true, - 'value' => 2, - 'contact_me' => false, - 'created_at' => '2018-04-20T18:39:37.521Z', - 'user_id' => 27991, - ), - 1 => - array ( - 'id' => 20363, - 'expertise_id' => 42, - 'interested' => true, - 'value' => 2, - 'contact_me' => false, - 'created_at' => '2018-04-20T18:39:27.430Z', - 'user_id' => 27991, - ), - 2 => - array ( - 'id' => 20362, - 'expertise_id' => 19, - 'interested' => true, - 'value' => 3, - 'contact_me' => false, - 'created_at' => '2018-04-20T18:37:43.113Z', - 'user_id' => 27991, - ), - 3 => - array ( - 'id' => 20199, - 'expertise_id' => 24, - 'interested' => true, - 'value' => 2, - 'contact_me' => false, - 'created_at' => '2018-04-11T12:28:28.345Z', - 'user_id' => 27991, - ), - 4 => - array ( - 'id' => 20198, - 'expertise_id' => 27, - 'interested' => true, - 'value' => 3, - 'contact_me' => false, - 'created_at' => '2018-04-11T12:28:15.524Z', - 'user_id' => 27991, - ), - 5 => - array ( - 'id' => 17407, - 'expertise_id' => 16, - 'interested' => true, - 'value' => 4, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:45:37.520Z', - 'user_id' => 27991, - ), - 6 => - array ( - 'id' => 17406, - 'expertise_id' => 39, - 'interested' => true, - 'value' => 2, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:45:18.731Z', - 'user_id' => 27991, - ), - 7 => - array ( - 'id' => 17398, - 'expertise_id' => 51, - 'interested' => true, - 'value' => 1, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:44:15.723Z', - 'user_id' => 27991, - ), - 8 => - array ( - 'id' => 17397, - 'expertise_id' => 6, - 'interested' => true, - 'value' => 4, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:43:33.185Z', - 'user_id' => 27991, - ), - 9 => - array ( - 'id' => 17402, - 'expertise_id' => 36, - 'interested' => true, - 'value' => 4, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:44:52.558Z', - 'user_id' => 27991, - ), - 10 => - array ( - 'id' => 17403, - 'expertise_id' => 70, - 'interested' => true, - 'value' => 3, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:44:57.041Z', - 'user_id' => 27991, - ), - 11 => - array ( - 'id' => 17408, - 'expertise_id' => 8, - 'interested' => true, - 'value' => 4, - 'contact_me' => false, - 'created_at' => '2017-12-13T15:45:43.138Z', - 'user_id' => 27991, - ), ), 'campus' => array ( diff --git a/views/layouts/main.php b/views/layouts/main.php index f8a208c..85b5040 100644 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -19,7 +19,7 @@ $this->registerCssFile('@web/css/fix-dark-theme.css'); } -// echo '
'; var_export($request->post('1')); echo '
'; die(); +// echo '
'; var_export(  ); echo '
'; die(); ?>