public function __construct($aPostExport, $sClassName) { parent::__construct($aPostExport); $this->sClassName = $sClassName; $this->sFileName = $this->getSubmitValueByType($aPostExport, $this->sInputID, 'file_name'); $this->sFormatType = $this->getSubmitValueByType($aPostExport, $this->sInputID, 'format'); $this->bIsDataSet = $this->getSubmitValueByType($aPostExport, $this->sInputID, 'transient'); }
public function __construct($aPostExport, $sClassName) { // Call the parent constructor. parent::__construct($aPostExport); // Properties $this->sClassName = $sClassName; // will be used in the getTransientIfSet() method. // Set the file name to download and the format type. Also find whether the exporting data is set in transient. $this->sFileName = $this->getSubmitValueByType($aPostExport, $this->sInputID, 'file_name'); $this->sFormatType = $this->getSubmitValueByType($aPostExport, $this->sInputID, 'format'); $this->bIsDataSet = $this->getSubmitValueByType($aPostExport, $this->sInputID, 'transient'); }
public function __construct($aFilesImport, $aPostImport) { parent::__construct($aPostImport); $this->aFilesImport = $aFilesImport; }
public function __construct($aFilesImport, $aPostImport) { // Call the parent constructor. This must be done before the getFieldID() method that uses the $aPostElement property. parent::__construct($aPostImport); $this->aFilesImport = $aFilesImport; }