OEModule\OphCoCvi\controllers\DefaultController::initActionView PHP 메소드

initActionView() 공개 메소드

Sets the title for the event display.
public initActionView ( )
    public function initActionView()
    {
        parent::initActionView();
        $this->setTitle($this->getManager()->getTitle($this->event));
        $this->jsVars['cvi_print_url'] = $this->getApp()->createUrl($this->getModule()->name . '/default/PDFprint/' . $this->event->id);
        $this->jsVars['label_print_url'] = $this->getApp()->createUrl($this->getModule()->name . '/default/LabelPDFprint/' . $this->event->id);
        if ($this->getApp()->request->getParam('print', null) == 1) {
            $this->jsVars['cvi_do_print'] = 1;
        }
    }