예제 #1
0
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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
 /**
  * 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);
 }