original_string: public function getOnEmptyText()
      {
          static $warned;
  
          $dir = $this->getPath(false, 'index');
  
          if (! is_dir($dir)) {
              try {
                  \MUtil_File::ensureDir($dir);
  
              } catch (\Zend_Exception $e) {
                  $text = $e->getMessage();
  
                  if (! $warned) {
                      $warned = true;
                      $this->addMessage($text);
                  }
                  return $text;
              }
          }
  
          return parent::getOnEmptyText();
      }
code: public function getOnEmptyText()
      {
          static $warned;
  
          $dir = $this->getPath(false, 'index');
  
          if (! is_dir($dir)) {
              try {
                  \MUtil_File::ensureDir($dir);
  
              } catch (\Zend_Exception $e) {
                  $text = $e->getMessage();
  
                  if (! $warned) {
                      $warned = true;
                      $this->addMessage($text);
                  }
                  return $text;
              }
          }
  
          return parent::getOnEmptyText();
      }
code_tokens: public function getOnEmptyText ( ) { static $ warned ; $ dir = $ this -> getPath ( false , 'index' ) ; if ( ! is_dir ( $ dir ) ) { try { \ MUtil_File :: ensureDir ( $ dir ) ; } catch ( \ Zend_Exception $ e ) { $ text = $ e -> getMessage ( ) ; if ( ! $ warned ) { $ warned = true ; $ this -> addMessage ( $ text ) ; } return $ text ; } } return parent :: getOnEmptyText ( ) ; }
docstring: Returns the on empty texts for the autofilter snippets
  
  @static boolean $warned Listen very closely. I shall tell this only once!
  @return string
docstring_tokens: Returns the on empty texts for the autofilter snippets