59 if (empty($this->OrganizationName)) {
60 $this->OrganizationName = array(
'invalid' =>
'');
64 if (empty($this->OrganizationDisplayName)) {
65 $this->OrganizationDisplayName = array(
'invalid' =>
'');
69 if (empty($this->OrganizationURL)) {
70 $this->OrganizationURL = array(
'invalid' =>
'');
83 assert(is_array($this->OrganizationName));
84 assert(!empty($this->OrganizationName));
85 assert(is_array($this->OrganizationDisplayName));
86 assert(!empty($this->OrganizationDisplayName));
87 assert(is_array($this->OrganizationURL));
88 assert(!empty($this->OrganizationURL));
90 $doc = $parent->ownerDocument;
93 $parent->appendChild($e);
toXML(\DOMElement $parent)
Convert this Organization to XML.
static extractLocalizedStrings(\DOMElement $parent, $namespaceURI, $localName)
Extract localized strings from a set of nodes.
__construct(\DOMElement $xml=null)
Initialize an Organization element.
static addStrings(\DOMElement $parent, $namespace, $name, $localized, array $values)
Append string elements.
const NS_MD
The namespace for the SAML 2 metadata.
static addList(\DOMElement $parent, array $extensions)
Add a list of Extensions to the given element.
static getList(\DOMElement $parent)
Get a list of Extensions in the given element.