OEModule\OphCiExamination\components\RefractiveOutcomeReport::__construct PHP Méthode

__construct() public méthode

public __construct ( $app )
$app
    public function __construct($app)
    {
        $this->months = $app->getRequest()->getQuery('months', 0);
        $this->procedures = $app->getRequest()->getQuery('procedures', array());
        //if they selected all set to empty array to ignore procedure check in query
        if (in_array('all', $this->procedures)) {
            $this->procedures = array();
        }
        parent::__construct($app);
    }