Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to install
#2
the line it's talking about is "public function..." --- i dont see anything wrong with this code ... unless of course some hosts don't have access to the special variable $this.

class SimpleXMLExtended extends SimpleXMLElement{
public function addCData($cdata_text){
$node= dom_import_simplexml($this);
$no = $node->ownerDocument;
$node->appendChild($no->createCDATASection($cdata_text));
}
}
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply


Messages In This Thread
unable to install - by viik - 2009-08-18, 21:26:31
unable to install - by ccagle8 - 2009-08-18, 21:38:51
unable to install - by Derek - 2009-08-18, 23:39:04
unable to install - by viik - 2009-08-19, 09:13:36
unable to install - by Derek - 2009-08-20, 00:40:20
unable to install - by viik - 2009-08-20, 03:24:39
unable to install - by Derek - 2009-08-20, 03:54:39
unable to install - by viik - 2009-08-20, 04:12:14
unable to install - by Brian - 2009-08-20, 04:18:59
unable to install - by viik - 2009-08-20, 04:31:41
unable to install - by ccagle8 - 2009-08-20, 06:28:23
unable to install - by hsuijs - 2010-10-09, 07:49:34



Users browsing this thread: 2 Guest(s)