/** * 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]); } }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }