PHP Class SAML2\XML\shibmd\Scope

Show file Open project: simplesamlphp/saml2 Class Usage Examples

Public Properties

Property Type Description
$regexp boolean Whether this is a regexp scope.
$scope string The scope.

Public Methods

Method Description
__construct ( DOMElement $xml = null ) Create a Scope.
toXML ( DOMElement $parent ) : DOMElement Convert this Scope to XML.

Method Details

__construct() public method

Create a Scope.
public __construct ( DOMElement $xml = null )
$xml DOMElement The XML element we should load.

toXML() public method

Convert this Scope to XML.
public toXML ( DOMElement $parent ) : DOMElement
$parent DOMElement The element we should append this Scope to.
return DOMElement

Property Details

$regexp public property

Whether this is a regexp scope.
public bool $regexp
return boolean

$scope public property

The scope.
public string $scope
return string