Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 310]

XMPPHP: The PHP XMPP Library Copyright (C) 2008  Nathanael C. Fritz This file is part of SleekXMPP. XMPPHP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Author: Nathanael C. Fritz fritzy@netflint.net>
Author: Stephan Wentz stephan@jabber.wentz.it>
Author: Michael Garvin gar@netflint.net>
Author: Alexander Birkner (https://github.com/BirknerAlex)
Copyright: 2008 Nathanael C. Fritz
File Size: 162 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

XMLObj:: (5 methods):
  __construct()
  printObj()
  toString()
  hasSub()
  sub()


Class: XMLObj  - X-Ref

XMPPHP Main Class

__construct($name, $ns = '', $attrs = array()   X-Ref
Constructor

param: string $name
param: string $ns
param: array  $attrs
param: string $data

printObj($depth = 0)   X-Ref
Dump this XML Object to output.

param: integer $depth

toString($str = '')   X-Ref
Return this XML Object in xml notation

param: string $str

hasSub($name, $ns = null)   X-Ref
Has this XML Object the given sub?

param: string $name
return: boolean

sub($name, $attrs = null, $ns = null)   X-Ref
Return a sub

param: string $name
param: string $attrs
param: string $ns