33 lines
871 B
PHP
33 lines
871 B
PHP
<?php
|
|
|
|
namespace OCA\Gestion\Service\Devis;
|
|
|
|
use OCP\Files\IRootFolder;
|
|
|
|
/**
|
|
* Objet simple pour regrouper les paramètres de contexte
|
|
*/
|
|
class PageContext
|
|
{
|
|
public $pdf;
|
|
public $currentConfig;
|
|
public $configurationAddress;
|
|
public $configurationAddressCity;
|
|
public $dataDevis;
|
|
public $clientInfo;
|
|
public $year;
|
|
public $montant;
|
|
|
|
public function __construct($pdf, $currentConfig, $configurationAddress, $configurationAddressCity, $dataDevis, $clientInfo, $year, $montant)
|
|
{
|
|
$this->pdf = $pdf;
|
|
$this->currentConfig = $currentConfig;
|
|
$this->configurationAddress = $configurationAddress;
|
|
$this->configurationAddressCity = $configurationAddressCity;
|
|
$this->dataDevis = $dataDevis;
|
|
$this->clientInfo = $clientInfo;
|
|
$this->year = $year;
|
|
$this->montant = $montant;
|
|
}
|
|
}
|