示例#1
0
 /**
  * Get session variables data of this object
  *
  * @param SessionContext $sessionContext
  * @return void
  */
 public function getSessionVars($sessionContext)
 {
     if ($this->m_Stateless == "Y") {
         return;
     }
     $sessionContext->getObjVar($this->m_Name, "RecordId", $this->m_RecordId);
     $sessionContext->getObjVar($this->m_Name, "SearchRule", $this->m_SearchRule);
     $sessionContext->getObjVar($this->m_Name, "SortRule", $this->m_SortRule);
     $sessionContext->getObjVar($this->m_Name, "OtherSqlRule", $this->m_OtherSQLRule);
     $sessionContext->getObjVar($this->m_Name, "Association", $this->m_Association);
     // ??? need to save current record in session ???
     foreach ($this->m_BizRecord as $fieldName => $bizField) {
         $bizField->setValue($this->m_CurrentRecord[$fieldName]);
     }
 }
示例#2
0
 /**
  * Get/Retrieve Session data of this object
  *
  * @param SessionContext $sessionContext
  * @return void
  */
 public function getSessionVars($sessionContext)
 {
     $sessionContext->getObjVar($this->m_Name, "RecordId", $this->m_RecordId);
     $sessionContext->getObjVar($this->m_Name, "FixSearchRule", $this->m_FixSearchRule);
     $sessionContext->getObjVar($this->m_Name, "SearchRule", $this->m_SearchRule);
     $sessionContext->getObjVar($this->m_Name, "SearchRuleBindValues", $this->m_SearchRuleBindValues);
     $sessionContext->getObjVar($this->m_Name, "SubForms", $this->m_SubForms);
     $sessionContext->getObjVar($this->m_Name, "CurrentPage", $this->m_CurrentPage);
     $sessionContext->getObjVar($this->m_Name, "PageSize", $this->m_Range);
     $sessionContext->getObjVar($this->m_Name, "SearchPanelValues", $this->m_SearchPanelValues);
 }
示例#3
0
 /**
  * Get/Retrieve Session data of this object
  *
  * @param SessionContext $sessionContext
  * @return void
  */
 public function getSessionVars($sessionContext)
 {
     $sessionContext->getObjVar($this->m_Name, "RecordId", $this->m_RecordId);
     $sessionContext->getObjVar($this->m_Name, "FixSearchRule", $this->m_FixSearchRule);
     $sessionContext->getObjVar($this->m_Name, "SearchRule", $this->m_SearchRule);
     $sessionContext->getObjVar($this->m_Name, "QueryParams", $this->queryParams);
     $sessionContext->getObjVar($this->m_Name, "SubForms", $this->m_SubForms);
     $sessionContext->getObjVar($this->m_Name, "ParentFormName", $this->m_ParentFormName);
     $sessionContext->getObjVar($this->m_Name, "DefaultFormName", $this->m_DefaultFormName);
     $sessionContext->getObjVar($this->m_Name, "CurrentPage", $this->m_CurrentPage);
     $sessionContext->getObjVar($this->m_Name, "PageSize", $this->m_Range);
     $sessionContext->getObjVar($this->m_Name, "ReferenceFormName", $this->m_ReferenceFormName);
     $sessionContext->getObjVar($this->m_Name, "SearchPanelValues", $this->m_SearchPanelValues);
 }
示例#4
0
 /**
  * Get/Retrieve Session data of this object
  *
  * @param SessionContext $sessionContext
  * @return void
  */
 public function getSessionVars($sessionContext)
 {
     $sessionContext->getObjVar($this->m_Name, "FormStates", $this->m_FormStates, true);
     $sessionContext->getObjVar($this->m_Name, "CurrentStep", $this->m_CurrentStep, true);
 }
示例#5
0
 /**
  * BizView::GetSessionContext() - Retrieve Session data of this object
  *
  * @param SessionContext $sessCtxt
  * @return void
  */
 public function getSessionVars($sessCtxt)
 {
     $sessCtxt->getObjVar($this->m_Name, "Parameters", $paramArray);
     $this->setParameters($paramArray);
 }
示例#6
0
 /**
  * Get/Retrieve Session data of this object
  *
  * @param SessionContext $sessionContext
  * @return void
  */
 public function getSessionVars($sessionContext)
 {
     $sessionContext->getObjVar($this->m_Name, "LastRenderedForm", $this->m_LastRenderedForm);
 }
示例#7
0
 /**
  * Get/Retrieve Session data of this object
  *
  * @param SessionContext $sessionContext
  * @return void
  */
 public function getSessionVars($sessionContext)
 {
     $sessionContext->getObjVar($this->m_Name, "ActiveRecord", $this->m_ActiveRecord, true);
     $sessionContext->getObjVar($this->m_Name, "FormInputs", $this->m_FormInputs, true);
     $this->setActiveRecord($this->m_ActiveRecord);
 }