fsv-dev / sis-repository
This package is abandoned and no longer maintained.
No replacement package was suggested.
Nette DI extension for SIS repository
0.1.0
2015-08-08 00:04 UTC
Requires
- php: >=5.4.0
- nette/database: ~2.3
This package is not auto-updated.
Last update: 2020-02-12 13:11:28 UTC
README
Nette\DI extension for SIS repository
Install
$ composer require fsv-dev/sis-repository
Configuration
config.neon
extensions: sis: SIS\DI\SISExtension sis: server: 127.0.0.1 user: 'username' password: 'password' port: 1111 sid: 'sid' protocol: 'TCP' # default value charset: 'UTF8' # default value facultyCode: 12345
Simple use
$this->searchForStudent($name, $surname) // Returns simple student's info (array) $this->getStudentInfo($sident) // Returns more information of student (array) $this->getStudyInfo($sident) // Returns all student's programs, subjects and credits (multi array)