original_string: protected function _init($definition=null)
      {
  
          if (!is_null($definition)) {
              $this->_packageXml = simplexml_load_string($definition);
          } else {
              $packageXmlStub = <<<END
  <?xml version="1.0"?>
  <package>
      <name />
      <version />
      <stability />
      <license />
      <channel />
      <extends />
      <summary />
      <description />
      <notes />
      <authors />
      <date />
      <time />
      <contents />
      <compatible />
      <dependencies />
  </package>
  END;
              $this->_packageXml = simplexml_load_string($packageXmlStub);
          }
          return $this;
      }
code: protected function _init($definition=null)
      {
  
          if (!is_null($definition)) {
              $this->_packageXml = simplexml_load_string($definition);
          } else {
              $packageXmlStub = <<<END
  <?xml version="1.0"?>
  <package>
      <name />
      <version />
      <stability />
      <license />
      <channel />
      <extends />
      <summary />
      <description />
      <notes />
      <authors />
      <date />
      <time />
      <contents />
      <compatible />
      <dependencies />
  </package>
  END;
              $this->_packageXml = simplexml_load_string($packageXmlStub);
          }
          return $this;
      }
code_tokens: protected function _init ( $ definition = null ) { if ( ! is_null ( $ definition ) ) { $ this -> _packageXml = simplexml_load_string ( $ definition ) ; } else { $ packageXmlStub =  <<<END
  <?xml version="1.0"?>
  <package>
      <name />
      <version />
      <stability />
      <license />
      <channel />
      <extends />
      <summary />
      <description />
      <notes />
      <authors />
      <date />
      <time />
      <contents />
      <compatible />
      <dependencies />
  </package>
  END ; $ this -> _packageXml = simplexml_load_string ( $ packageXmlStub ) ; } return $ this ; }
docstring: Initializes an empty package object
  
  @param null|string $definition optional package definition xml
  @return Mage_Connect_Package
docstring_tokens: Initializes an empty package object