assessfirst / itwapp-module
InterviewApp ZF2 module
Installs: 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 1
pkg:composer/assessfirst/itwapp-module
Requires
- php: >= 5.4.0
- guzzlehttp/guzzle: 5.3.0
Requires (Dev)
- phpunit/phpunit: 4.4.*
This package is not auto-updated.
Last update: 2017-06-02 08:28:32 UTC
README
This module allows you to use the InterviewApp API from a ZF2 service.
Installation
This is installable via Composer as assessfirst/itwapp-module.
Usage
Basic Usage
First, Copy the itwapp.local.php.dist in your application config and set the file with your own configuration. Then, you can get the payline service with the following code :
$this->getServiceLocator()->get('Itwapp\Service\Itwapp');
Get an interview
$interview = $this->getServiceLocator() ->get('Itwapp\Service\Itwapp') ->getInterview($id) ;
Create an interview
$interview = $this->getServiceLocator() ->get('Itwapp\Service\Itwapp') ->createInterview($name, array $questions) ;
Get an applicant
$interview = $this->getServiceLocator() ->get('Itwapp\Service\Itwapp') ->getApplicant($id) ;
Create an applicant
$interview = $this->getServiceLocator() ->get('Itwapp\Service\Itwapp') ->createApplicant($mail, $lang, $alert, $deadline, \Itwapp\DAO\Interview $interview) ;
InterviewApp API informations
To see more informations about InterviewApp and the API, please click here.