CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- $cfg=new jbConfig('config.php');
- class jbResponse{
- global $cfg;
- var $xml;
- var $type;
- function jbResponse(){
- $this->xml=new SimpleXMLElement('<?xml version="1.0"?><response></response>');
- $this->xml->addAttribute('version',$cfg->get('version'));
- }
- }