original_string: protected function _addBranch(Zend_Config $config, $parents = array())
      {
          $iniString = '';
  
          foreach ($config as $key => $value) {
              $group = array_merge($parents, array($key));
  
              if ($value instanceof Zend_Config) {
                  $iniString .= $this->_addBranch($value, $group);
              } else {
                  $iniString .= implode($this->_nestSeparator, $group)
                             .  ' = '
                             .  $this->_prepareValue($value)
                             .  "\n";
              }
          }
  
          return $iniString;
      }
code: protected function _addBranch(Zend_Config $config, $parents = array())
      {
          $iniString = '';
  
          foreach ($config as $key => $value) {
              $group = array_merge($parents, array($key));
  
              if ($value instanceof Zend_Config) {
                  $iniString .= $this->_addBranch($value, $group);
              } else {
                  $iniString .= implode($this->_nestSeparator, $group)
                             .  ' = '
                             .  $this->_prepareValue($value)
                             .  "\n";
              }
          }
  
          return $iniString;
      }
code_tokens: protected function _addBranch ( Zend_Config $ config , $ parents = array ( ) ) { $ iniString = '' ; foreach ( $ config as $ key => $ value ) { $ group = array_merge ( $ parents , array ( $ key ) ) ; if ( $ value instanceof Zend_Config ) { $ iniString .= $ this -> _addBranch ( $ value , $ group ) ; } else { $ iniString .= implode ( $ this -> _nestSeparator , $ group ) . ' = ' . $ this -> _prepareValue ( $ value ) . "\n" ; } } return $ iniString ; }
docstring: Add a branch to an INI string recursively
  
  @param  Zend_Config $config
  @return void
docstring_tokens: Add a branch to an INI string recursively