<commit_before><?php
namespace app\controllers;
use app\models\Instructor;
use app\models\Subject;
use app\models\Classes;
use yii\web\Controller;
use app\models\Schedule;
use app\models\Semester;
use yii\helpers\Url;

class SemesterscheduleController extends Controller
{

	public function actionSemester($id){
    echo $id;
		\Yii::$app->session->set('returnUrl', Url::to(['semesterschedule/semester', 'id'=>$id]));

    $interval = Schedule::find()->all();
    $semester = Semester::findOne($id);
        return $this->render("semesterSchedule",["interval"=>$interval,"semester"=>$semester]);
	}
}<commit_msg>Se modifica controlador semestres<commit_after><?php
namespace app\controllers;
use app\models\Instructor;
use app\models\Subject;
use app\models\Classes;
use yii\web\Controller;
use app\models\Schedule;
use app\models\Semester;
use yii\helpers\Url;

class SemesterscheduleController extends Controller
{

	public function actionSemester($id){
    echo $id;
		\Yii::$app->session->set('returnUrl', Url::to(['semesterschedule/semester', 'id'=>$id]));

    $interval = Schedule::find()->all();
    $semester = Semester::findOne($id);
        return $this->render("semesterSchedule",["interval"=>$interval,"semester"=>$semester]);
	}

	public function actionSemesters(){
	$interval = Schedule::find()->all();
	$semesters = Semester::find()->all();
	return $this->render("semesterScheduleGroup",["interval"=>$interval,"semesters"=>$semesters]);
	}
}
{'fraction_non_alphanumeric': 0.17982155113246398, 'fraction_numerical': 0.0, 'mean_word_length': 6.326633165829146, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4728126', 'n_tokens_mistral': 487, 'n_tokens_neox': 462, 'n_words': 82}