Property | Type | Description | |
---|---|---|---|
$serviceLocator | Zend\ServiceManager\ServiceManager | Service manager |
Method | Description | |
---|---|---|
__construct ( Zend\ServiceManager\ServiceManager $serviceLocator ) | Initialize serviceManager | |
createDocument ( ) : string | Load Document data | |
createDocumentType ( ) : string | Load Document type data | |
createResource ( string $type ) : string | Load resource data | |
export ( array $what ) : string | Export function | |
import ( string $content ) : boolean | Import from xml |
Method | Description | |
---|---|---|
createXml ( string $type ) : string | Create xml from type | |
getOrders ( SimpleXMLElement $xml ) : array | Get children orders | |
importDatatypes ( &$ids, &$errors, array $children ) : void | Import Datatypes | |
importDocumentTypes ( &$ids, &$errors, array $children ) : void | Import Document types | |
importDocuments ( &$ids, &$errors, array $children ) : void | Import Documents | |
importTemplates ( &$ids, &$errors, array $children ) : void | Import templates | |
insertDependencies ( &$ids, &$errors, array $documentTypes ) : void | Insert dependencies | |
loadXml ( string $content ) : SimpleXMLElement | Load xml content |
public __construct ( Zend\ServiceManager\ServiceManager $serviceLocator ) | ||
$serviceLocator | Zend\ServiceManager\ServiceManager | Service Manager |
public createDocumentType ( ) : string | ||
return | string |
public createResource ( string $type ) : string | ||
$type | string | Type of the resource |
return | string |
protected importDatatypes ( &$ids, &$errors, array $children ) : void | ||
$children | array | Children list |
return | void |
protected importDocumentTypes ( &$ids, &$errors, array $children ) : void | ||
$children | array | Children list |
return | void |
protected importDocuments ( &$ids, &$errors, array $children ) : void | ||
$children | array | Children list |
return | void |
protected importTemplates ( &$ids, &$errors, array $children ) : void | ||
$children | array | Children list |
return | void |
protected insertDependencies ( &$ids, &$errors, array $documentTypes ) : void | ||
$documentTypes | array | List of document type |
return | void |