コード例 #1
0
ファイル: EasyViewWizard.php プロジェクト: openbizx/openbizx
 /**
  * Save Session data of this object
  *
  * @param \Openbizx\Web\SessionContext $sessionContext
  * @return void
  */
 public function saveStatefullVars($sessionContext)
 {
     if ($this->dropSession) {
         $sessionContext->cleanObj($this->objectName, true);
     } else {
         $sessionContext->saveObjVar($this->objectName, "FormStates", $this->formStates, true);
         $sessionContext->saveObjVar($this->objectName, "CurrentStep", $this->currentStep, true);
     }
 }
コード例 #2
0
ファイル: EasyFormWizard.php プロジェクト: openbizx/openbizx
 /**
  * Save object variable to session context
  *
  * @param \Openbizx\Web\SessionContext $sessionContext
  * @return void
  */
 public function saveStatefullVars($sessionContext)
 {
     if ($this->dropSession) {
         $sessionContext->cleanObj($this->objectName, true);
     } else {
         parent::saveStatefullVars($sessionContext);
         $sessionContext->saveObjVar($this->objectName, "ActiveRecord", $this->activeRecord, true);
         $sessionContext->saveObjVar($this->objectName, "FormInputs", $this->formInputs, true);
     }
 }
コード例 #3
0
ファイル: ListForm.php プロジェクト: openbizx/openbizx
 /**
  * Save object variable to session context
  *
  * @param \Openbizx\Web\SessionContext $sessionContext
  * @return void
  */
 public function saveStatefullVars($sessionContext)
 {
     $sessionContext->saveObjVar($this->objectName, "RecordId", $this->recordId);
     $sessionContext->saveObjVar($this->objectName, "FixSearchRule", $this->fixSearchRule);
     $sessionContext->saveObjVar($this->objectName, "SearchRule", $this->searchRule);
     $sessionContext->saveObjVar($this->objectName, "SearchRuleBindValues", $this->searchRuleBindValues);
     $sessionContext->saveObjVar($this->objectName, "SubForms", $this->subForms);
     $sessionContext->saveObjVar($this->objectName, "CurrentPage", $this->currentPage);
     $sessionContext->saveObjVar($this->objectName, "PageSize", $this->range);
     $sessionContext->saveObjVar($this->objectName, "SearchPanelValues", $this->searchPanelValues);
 }
コード例 #4
0
ファイル: WebPage.php プロジェクト: openbizx/openbizx
 /**
  * Save Session data of this object
  *
  * @param \Openbizx\Web\SessionContext $sessionContext
  * @return void
  */
 public function saveStatefullVars($sessionContext)
 {
     $sessionContext->saveObjVar($this->objectName, "LastRenderedForm", $this->lastRenderedForm);
 }
コード例 #5
0
ファイル: BizDataObj_Lite.php プロジェクト: openbizx/openbizx
 /**
  * Save Session variables/data of this object
  *
  * @param \Openbizx\Web\SessionContext $sessionContext
  * @return void
  */
 public function saveStatefullVars($sessionContext)
 {
     if ($this->stateless == "Y") {
         return;
     }
     $sessionContext->saveObjVar($this->objectName, "RecordId", $this->recordId);
     $sessionContext->saveObjVar($this->objectName, "SearchRule", $this->searchRule);
     $sessionContext->saveObjVar($this->objectName, "SortRule", $this->sortRule);
     $sessionContext->saveObjVar($this->objectName, "OtherSqlRule", $this->otherSQLRule);
     if (is_array($this->association)) {
         $sessionContext->saveObjVar($this->objectName, "Association", $this->association);
     }
 }
コード例 #6
0
ファイル: EasyForm.php プロジェクト: openbizx/openbizx
 /**
  * Save object variable to session context
  *
  * @param \Openbizx\Web\SessionContext $sessionContext
  * @return void
  */
 public function saveStatefullVars($sessionContext)
 {
     $sessionContext->saveObjVar($this->objectName, "RecordId", $this->recordId);
     $sessionContext->saveObjVar($this->objectName, "FixSearchRule", $this->fixSearchRule);
     $sessionContext->saveObjVar($this->objectName, "SearchRule", $this->searchRule);
     $sessionContext->saveObjVar($this->objectName, "QueryParams", $this->queryParams);
     $sessionContext->saveObjVar($this->objectName, "SubForms", $this->subForms);
     $sessionContext->saveObjVar($this->objectName, "ParentFormName", $this->parentFormName);
     $sessionContext->saveObjVar($this->objectName, "DefaultFormName", $this->defaultFormName);
     $sessionContext->saveObjVar($this->objectName, "CurrentPage", $this->currentPage);
     $sessionContext->saveObjVar($this->objectName, "PageSize", $this->range);
     $sessionContext->saveObjVar($this->objectName, "ReferenceFormName", $this->referenceFormName);
     $sessionContext->saveObjVar($this->objectName, "SearchPanelValues", $this->searchPanelValues);
 }