2018-03-01 14:57:25 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Created by PhpStorm.
|
|
|
|
* User: lucas
|
|
|
|
* Date: 27/02/18
|
2018-03-01 16:21:48 +00:00
|
|
|
* Time: 16:19
|
2018-03-01 14:57:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace api\module;
|
|
|
|
|
|
|
|
|
|
|
|
use database\core\Repo;
|
2018-03-01 16:21:48 +00:00
|
|
|
use database\repo\professor;
|
2018-03-01 14:57:25 +00:00
|
|
|
|
2018-03-01 16:21:48 +00:00
|
|
|
class ProfessorController{
|
2018-03-01 14:57:25 +00:00
|
|
|
|
|
|
|
public static function get($args){
|
2018-03-01 16:21:48 +00:00
|
|
|
$prof_id = null;
|
2018-03-01 14:57:25 +00:00
|
|
|
extract($args);
|
|
|
|
|
2018-03-01 16:21:48 +00:00
|
|
|
return ['teachers' => [1, 2]];
|
2018-03-01 14:57:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|