PHP 클래스 Backup\Model\Content

상속: extends Gc\Core\Object
파일 보기 프로젝트 열기: gotcms/gotcms 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$serviceLocator Zend\ServiceManager\ServiceManager Service manager

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
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

메소드 상세

__construct() 공개 메소드

Initialize serviceManager
public __construct ( Zend\ServiceManager\ServiceManager $serviceLocator )
$serviceLocator Zend\ServiceManager\ServiceManager Service Manager

createDocument() 공개 메소드

Load Document data
public createDocument ( ) : string
리턴 string

createDocumentType() 공개 메소드

Load Document type data
public createDocumentType ( ) : string
리턴 string

createResource() 공개 메소드

Load resource data
public createResource ( string $type ) : string
$type string Type of the resource
리턴 string

createXml() 보호된 메소드

Create xml from type
protected createXml ( string $type ) : string
$type string Type of element
리턴 string

export() 공개 메소드

Export function
public export ( array $what ) : string
$what array What will be exported
리턴 string

getOrders() 보호된 메소드

Get children orders
protected getOrders ( SimpleXMLElement $xml ) : array
$xml SimpleXMLElement xml data
리턴 array

import() 공개 메소드

Import from xml
public import ( string $content ) : boolean
$content string Xml Content
리턴 boolean

importDatatypes() 보호된 메소드

Import Datatypes
protected importDatatypes ( &$ids, &$errors, array $children ) : void
$children array Children list
리턴 void

importDocumentTypes() 보호된 메소드

Import Document types
protected importDocumentTypes ( &$ids, &$errors, array $children ) : void
$children array Children list
리턴 void

importDocuments() 보호된 메소드

Import Documents
protected importDocuments ( &$ids, &$errors, array $children ) : void
$children array Children list
리턴 void

importTemplates() 보호된 메소드

Import templates
protected importTemplates ( &$ids, &$errors, array $children ) : void
$children array Children list
리턴 void

insertDependencies() 보호된 메소드

Insert dependencies
protected insertDependencies ( &$ids, &$errors, array $documentTypes ) : void
$documentTypes array List of document type
리턴 void

loadXml() 보호된 메소드

Load xml content
protected loadXml ( string $content ) : SimpleXMLElement
$content string Content
리턴 SimpleXMLElement

프로퍼티 상세

$serviceLocator 보호되어 있는 프로퍼티

Service manager
protected ServiceManager,Zend\ServiceManager $serviceLocator
리턴 Zend\ServiceManager\ServiceManager