コード例 #1
0
 /**
  * Get the object instance defined in the object reference
  *
  * @param string $objName the object name list in the ObjectReference part
  * @return BizDataObj object instance
  */
 public function getRefObject($objName)
 {
     // see if there is such object in the ObjReferences
     $objRef = $this->m_ObjReferences->get($objName);
     if (!$objRef) {
         return null;
     }
     // apply association on the object
     // $assc = $this->EvaluateExpression($objRef->m_Association);
     // get the object instance
     $obj = BizSystem::getObject($objName);
     $obj->setAssociation($objRef, $this);
     return $obj;
 }