XmlRedefinedMapModifier
extends XmlMapModifier
in package
allow to modify the urls.xml file.
Table of Contents
- $currentEntryPoint : XmlEntryPoint
- $document : DOMDocument
- $file : string
- $modified : bool
- $originalMap : XmlMapModifier
- __construct() : mixed
- addEntryPoint() : XmlEntryPoint
- getDefaultEntryPoint() : XmlEntryPoint
- getEntryPoint() : XmlEntryPoint
- removeEntryPoint() : mixed
- removeUrlModuleInOtherEntryPoint() : mixed
- save() : mixed
- setCurrentEntryPoint() : mixed
- setNewDefaultEntryPoint() : mixed
- getEntryPointsOfType() : array<string|int, DomElement>
Properties
$currentEntryPoint
protected
XmlEntryPoint
$currentEntryPoint
$document
protected
DOMDocument
$document
the DOM document representing the file
$file
protected
string
$file
the filename
$modified
protected
bool
$modified
= false
indicate if the content is modified, to save or not the file.
$originalMap
protected
XmlMapModifier
$originalMap
Methods
__construct()
public
__construct(XmlMapModifier $originalMapFile, mixed $redefinedMapFile) : mixed
Parameters
- $originalMapFile : XmlMapModifier
- $redefinedMapFile : mixed
Return values
mixed —addEntryPoint()
public
addEntryPoint(mixed $name[, mixed $type = 'classic' ][, array<string|int, mixed> $options = array() ]) : XmlEntryPoint
Parameters
- $name : mixed
- $type : mixed = 'classic'
- $options : array<string|int, mixed> = array()
-
options are default=true/(false) https=true/(false) noentrypoint=true/(false) optionalTrailingSlash=true/(false)
Return values
XmlEntryPoint —getDefaultEntryPoint()
public
getDefaultEntryPoint(mixed $type) : XmlEntryPoint
Parameters
- $type : mixed
Return values
XmlEntryPoint —getEntryPoint()
public
getEntryPoint(mixed $name) : XmlEntryPoint
Parameters
- $name : mixed
Return values
XmlEntryPoint —removeEntryPoint()
public
removeEntryPoint(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —removeUrlModuleInOtherEntryPoint()
public
removeUrlModuleInOtherEntryPoint(mixed $module, XmlEntryPoint $except) : mixed
Parameters
- $module : mixed
- $except : XmlEntryPoint
Return values
mixed —save()
public
save() : mixed
Return values
mixed —setCurrentEntryPoint()
public
setCurrentEntryPoint(mixed $name[, mixed $type = 'classic' ]) : mixed
Parameters
- $name : mixed
- $type : mixed = 'classic'
Return values
mixed —setNewDefaultEntryPoint()
public
setNewDefaultEntryPoint(mixed $name, mixed $type) : mixed
Parameters
- $name : mixed
- $type : mixed
Return values
mixed —getEntryPointsOfType()
protected
getEntryPointsOfType([mixed $type = 'classic' ]) : array<string|int, DomElement>
Parameters
- $type : mixed = 'classic'