[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/XmlRpc/Generator/ -> GeneratorAbstract.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 150 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  __construct()
  openElement()
  closeElement()
  getEncoding()
  flush()
  __toString()
  stripDeclaration()

Functions
Functions that are not part of a class:

__construct($encoding = 'UTF-8')   X-Ref
Construct new instance of the generator

param: string $encoding XML encoding, default UTF-8

openElement($name, $value = null)   X-Ref
Start XML element

Method opens a new XML element with an element name and an optional value

param: string $name XML tag name
param: string $value Optional value of the XML tag
return: Zend_XmlRpc_Generator_Abstract Fluent interface

closeElement($name)   X-Ref
End of an XML element

Method marks the end of an XML element

param: string $name XML tag name
return: Zend_XmlRpc_Generator_Abstract Fluent interface

getEncoding()   X-Ref
Return encoding

return: string

flush()   X-Ref
Returns the XML as a string and flushes all internal buffers

return: string

__toString()   X-Ref
Returns XML without document declaration

return: string

stripDeclaration($xml)   X-Ref
Removes XML declaration from a string

param: string $xml
return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1