/**
  * Override method to perform a property "Get"
  * This will get the value of $strName
  *
  * @param string strName Name of the property to get
  * @return mixed
  */
 public function __get($strName)
 {
     switch ($strName) {
         case 'ServiceUrl':
             return $this->strServiceUrl;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Exemplo n.º 2
0
 /**
  * Override method to perform a property "Get"
  * This will get the value of $strName
  *
  * @param string strName Name of the property to get
  * @return mixed
  */
 public function __get($strName)
 {
     switch ($strName) {
         case 'TableArray':
             return $this->objTableArray;
         case 'TypeTableArray':
             return $this->objTypeTableArray;
         case 'DatabaseIndex':
             return $this->intDatabaseIndex;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
 /**
  * Override method to perform a property "Get"
  * This will get the value of $strName
  *
  * @param string strName Name of the property to get
  * @return mixed
  */
 public function __get($strName)
 {
     switch ($strName) {
         case 'TableArray':
             return $this->objTableArray;
         case 'TypeTableArray':
             return $this->objTypeTableArray;
         case 'DatabaseIndex':
             return $this->intDatabaseIndex;
         case 'CommentConnectorLabelDelimiter':
             return $this->strCommentConnectorLabelDelimiter;
         case 'AutoInitialize':
             return $this->blnAutoInitialize;
         case 'objSettingsXml':
             throw new QCallerException('The field objSettingsXml is deprecated');
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }