- 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.
-
- May 29, 2015
-
-
xamgore authored
-
- May 24, 2015
-
-
xamgore authored
-
xamgore authored
-
PavelBegunkov authored
-
- May 23, 2015
-
-
RomanSteinberg authored
-
- May 18, 2015
-
-
Роман Штейнберг authored
-
- May 17, 2015
-
-
RomanSteinberg authored
-
- Mar 22, 2015
-
-
xamgore authored
-
- Mar 05, 2015
-
-
xamgore authored
Radio- & checkbox-buttons have got wrapping label tags, so if you click on the text near such element, onclick event will be raised. Improves usability. Illustration: http://goo.gl/RdCZaN
-
- Feb 15, 2015
-
-
PavelBegunkov authored
-
- Feb 11, 2015
-
-
PavelBegunkov authored
-
PavelBegunkov authored
-
PavelBegunkov authored
-
- Feb 08, 2015
-
-
Andrew Rudenets authored
-
Andrew Rudenets authored
-
pimka authored
-
- Feb 03, 2015
-
-
Andrew Rudenets authored
-
- Feb 02, 2015
-
-
Andrew Rudenets authored
-
- Jan 23, 2015
-
-
Andrew Rudenets authored
-
- Jan 05, 2015
-
-
Andrew Rudenets authored
2. Страница авторизации [в разработке] 3. Страница предмета для зачета
-
- Dec 28, 2014
-
-
Andrew Rudenets authored
-
- Dec 27, 2014
-
-
PavelBegunkov authored
-
PavelBegunkov authored
-
- Dec 25, 2014
-
-
PavelBegunkov authored
-
PavelBegunkov authored
-
- Dec 24, 2014
-
-
Антон Шалимов authored
add <p class="help">Если вашего предмета нет в списке - пожалуйста, напишите на нам. Кнопка 'Сообщение'</p>
-
- Nov 30, 2014
-
-
Антон Шалимов authored
- Другой текст, который поясняет какие разделы дисциплины нельзя редактировать если стоят баллы. - В статус баре оценивания выводится мероприятие 'Бонусные баллы'
-
- Nov 25, 2014
-
-
PavelBegunkov authored
-
- Nov 17, 2014
- Nov 07, 2014
-
-
Антон Шалимов authored
-
- Oct 27, 2014
-
-
PavelBegunkov authored
-
- Oct 26, 2014
-
-
PavelBegunkov authored
-
- Oct 25, 2014
-
-
PavelBegunkov authored
-
- Oct 24, 2014
-
-
Антон Шалимов authored
-
PavelBegunkov authored
-
pimka authored
-
PavelBegunkov authored
-