assessfirst/itwapp-module

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v1.0) of this package.

InterviewApp ZF2 module

v1.0 2016-02-19 09:45 UTC

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.