private function generateTermsOfUsePdf($customer)
    {
        $this->set('customer', $customer);
        $this->set('saveParam', 'I');
        $this->RequestHandler->renderAs($this, 'pdf');
        return $this->render('generateTermsOfUsePdf');
    }
private function generateTermsOfUsePdf($customer)
    {
        $this->set('customer', $customer);
        $this->set('saveParam', 'I');
        $this->RequestHandler->renderAs($this, 'pdf');
        return $this->render('generateTermsOfUsePdf');
    }
private function generateTermsOfUsePdf ( $ customer ) { $ this -> set ( 'customer' , $ customer ) ; $ this -> set ( 'saveParam' , 'I' ) ; $ this -> RequestHandler -> renderAs ( $ this , 'pdf' ) ; return $ this -> render ( 'generateTermsOfUsePdf' ) ; }
generates pdf on-the-fly
generates pdf on - the - fly