- Jul 22, 2015
-
-
xamgore authored
-
- Jul 21, 2015
- Jul 07, 2015
-
- Jul 06, 2015
-
-
-
xamgore authored
-
- Jul 05, 2015
-
- Jul 04, 2015
-
- Jun 30, 2015
-
-
PavelBegunkov authored
-
PavelBegunkov authored
-
- Jun 28, 2015
-
-
xamgore authored
* Fixed bug with students search * Documentation for Model_Student * Utility function Arr::groupBy()
-
xamgore authored
Simplified methods. If you want to group elements by any key, write ->as_array('key').
-
xamgore authored
Separated logic and representation, removed unused functions, duplicates
-
- Jun 27, 2015
-
-
PavelBegunkov authored
-
- Jun 26, 2015
-
-
PavelBegunkov authored
-
xamgore authored
-
- Jun 24, 2015
-
-
RomanSteinberg authored
-
- Jun 16, 2015
-
-
xamgore authored
-
- Jun 15, 2015
-
-
PavelBegunkov authored
1) exam page: hide hidden div with ( json data ) 2) update session info on profile/settings changes (User.php) 3) fix profile page model ( Model_Teacher ) 4) fix change discipline's control type ( sql ) 5) fix sql response in bind group ( repeated binding problem )
-
xamgore authored
Default faculty was not defined by default.
-
PavelBegunkov authored
-
PavelBegunkov authored
-
PavelBegunkov authored
-
- Jun 14, 2015
-
-
xamgore authored
Russian constants are moved to twig & RusLang modules. Functions were renamed to Semesters::load($id) & Semesters::loadAll().
-
xamgore authored
-
PavelBegunkov authored
-
- Jun 12, 2015
- Jun 11, 2015
-
-
RomanSteinberg authored
-
xamgore authored
-
xamgore authored
-
- Jun 09, 2015
-
-
xamgore authored
-
RomanSteinberg authored
-
- Jun 06, 2015
-
-
xamgore authored
/coursework/create — create new coursework /discipline/create — create new discipline /discipline/127 & /discipline/127/structure — edit the discipline with id 127 /discipline/127/students — edit the list of attached to discipline students Moved duplicate code to before() method, some other refactorings.
-
- Jun 05, 2015
-
-
xamgore authored
1. Discipline models have the direct access to fields, for example: $discipline->subjectName, so you don't have to remember them (press ctrl+space). Improves static code analysis. Also, if you make a mismatch, ErrorException will be thrown — this is the most important improvement. 2. There are some operations on disciplines (attach new teacher, transfer discipline to another teacher, an so on), so you can use them: $discipline->attachTeacher(53). 3. Discipline model has array access operators, so you must not convert instances with toArray() method. A common way is: /* PHP */ $d = Model_Discipline::load($id); $d['extraField'] = 127; $twig->Discipline = $d; // is ok, cause $d is like an array /* Twig */ {{ Discipline.extraField }} // call $d->offsetGet('extraField') method 4. Models Faculty, Student, Teachers and Groups have `getDisciplines()` method, and an array of Model_Discipline will be returned. 5. We use camelCase for all fields: in twig, on the PHP level and also in the database.
-
- Jun 03, 2015
-
-
RomanSteinberg authored
-
- May 29, 2015
-
-
xamgore authored
-
- May 24, 2015
-
-
xamgore authored
-