예제 #1
0
파일: DomTest.php 프로젝트: kandy/system
 /**
  * @todo Implement testSerialize().
  */
 public function testSerialize()
 {
     // Remove the following lines when you implement this test.
     $dom = new DOMDocument();
     $dom->appendChild($dom->createElement('xml'));
     $this->object->serialize(array('a' => 'b'), $dom->documentElement);
     self::assertXmlStringEqualsXmlString('<xml><a>b</a></xml>', $dom->saveXml());
 }
예제 #2
0
파일: Dom.php 프로젝트: kandy/system
 /**
  *	Set plugin loader
  * @param Zend_Loader_PluginLoader_Interface $pluginLoader
  */
 public static function setPluginLoader(Zend_Loader_PluginLoader_Interface $pluginLoader = null)
 {
     self::$pluginLoader = $pluginLoader;
 }