Skip to content
Snippets Groups Projects
  1. Jun 14, 2015
  2. Jun 13, 2015
  3. Jun 12, 2015
  4. Jun 11, 2015
  5. Jun 10, 2015
    • xamgore's avatar
      Settled the project's destiny, moar refactoring · 7b7fed79
      xamgore authored
      * Model User has constants to check access for pages
      * Some routes are moved to separate files (app/routes/api)
      * New abstract model Container for complex objects like Discipline & Student (with -> access operator)
      * New DeanOffice controller with access checks
      * New SQL procedure to get info about students
      * Profile page for students (/dean_office/students/127)
      7b7fed79
    • PavelBegunkov's avatar
      db usage improvements: · b8072500
      PavelBegunkov authored
      1) Now user info stored in session
      2) Merge GetAccountInfo & GetPersonalInfo
      b8072500
    • xamgore's avatar
      Renamed listOutput to listStudent · 0b645dc7
      xamgore authored
      + Code refactoring in the AdmStudent controller
      0b645dc7
    • xamgore's avatar
      cfd3f3bd
    • xamgore's avatar
      Controllers refactoring, code style · b2f7a5f8
      xamgore authored
      * Controller_UserEnvironment is an abstract class, which defines $twig variable, and calls $twig->render in the after() method.
      * $twig contains $twig->User variable by default.
      * As I have read, it's totally recommended not to use $twig->Variables, so I defined $twig->set([params]) syntax
      * Twig supports "fluent interface", so use $twig->set(...)->set_filename();
      * Divided DeanOffice/Credits.php & moved part to Handler/
      b2f7a5f8
    • xamgore's avatar
      Code style, names of methods start from verb · 62ab9113
      xamgore authored
      62ab9113