__construct()
export()
load()
_getClassFromURI()
_getClassNameFromResource()
_getPropertyFromURI()
_getResourceFromClassName()
_getURIFromClass()
_getURIFromProperty()
_isShortResource()
$_classes
$_ignore
$_logger
$_properties
This class is an implementation of the interfaces ILoader and IExporter
see | \util\Adapters\ILoader |
---|---|
see | \util\Adapters\IExporter |
__construct()
export(\adms:AdmsObject[] $data, string $output) : boolean
access | public |
---|
\adms:AdmsObject[]
data the data (AdmsObject table) which should be exported
string
output another output than the simple boolean value
\DomainException |
|
---|---|
\InvalidArgumentException |
boolean
load(mixed $object) : \obj
mixed
the path to the file which should be loaded
\obj
a table of AdmsObject_getClassFromURI(string $URI) : string
string
The URI which needs to be translated
\InvalidArgumentException |
if the URI doesn't exist |
---|---|
\DomainException |
if the URI is ignored |
string
_getClassNameFromResource(string $ressource) : string
string
string
_getPropertyFromURI(string $URI) : string
string
The URI which needs to be translated
\InvalidArgumentException |
if the URI doesn't exist |
---|---|
\DomainException |
if the URI is ignored |
string
_getResourceFromClassName(string $classname) : string
string
string
_getURIFromClass(string $class) : string
string
The class which needs to be translated
\InvalidArgumentException |
if the property is not referenced |
---|
string
_getURIFromProperty(string $property) : string
string
The property which needs to be translated
\InvalidArgumentException |
if the property is not referenced |
---|
string
_isShortResource(string $resource)
string
$_classes : array
$_ignore : array
$_logger : \Logger
$_properties : array