original_string: public function getDynamicButtonMeta()
      {
          $strReturn = "";
  
          $objCondition = $this->getCondition("visible");
          if (is_object($objCondition)) {
              $blnResult = $objCondition->isMet();
  
              // This can be applied on all sorts of subjects.
              if ($blnResult) {
                  if (! $objCondition->getValue()) {
                      $strReturn = " style=\"display:none;\"";
                  }
              } else {
                  if ($objCondition->getValue()) {
                      $strReturn = " style=\"display:none;\"";
                  }
              }
          }
  
          return $strReturn;
      }
code: public function getDynamicButtonMeta()
      {
          $strReturn = "";
  
          $objCondition = $this->getCondition("visible");
          if (is_object($objCondition)) {
              $blnResult = $objCondition->isMet();
  
              // This can be applied on all sorts of subjects.
              if ($blnResult) {
                  if (! $objCondition->getValue()) {
                      $strReturn = " style=\"display:none;\"";
                  }
              } else {
                  if ($objCondition->getValue()) {
                      $strReturn = " style=\"display:none;\"";
                  }
              }
          }
  
          return $strReturn;
      }
code_tokens: public function getDynamicButtonMeta ( ) { $ strReturn = "" ; $ objCondition = $ this -> getCondition ( "visible" ) ; if ( is_object ( $ objCondition ) ) { $ blnResult = $ objCondition -> isMet ( ) ; // This can be applied on all sorts of subjects. if ( $ blnResult ) { if ( ! $ objCondition -> getValue ( ) ) { $ strReturn = " style=\"display:none;\"" ; } } else { if ( $ objCondition -> getValue ( ) ) { $ strReturn = " style=\"display:none;\"" ; } } } return $ strReturn ; }
docstring: This method determines wheter or not to show the 'add extra field' dynamic button
  based on it's parent's condition state.
docstring_tokens: This method determines wheter or not to show the add extra field dynamic button based on it s parent s condition state .