PHP 클래스 izzum\statemachine\loader\XML

The xml string can contain one or more machine definitions. The correct machine will be found from the xml structure. This class also provides a way to load xml from a file. The format of the data to be loaded is specified via an xml schema definition. see getXSD
저자: Rolf Vreijdenberger
상속: implements izzum\statemachine\loader\Loader
파일 보기 프로젝트 열기: rolfvreijdenberger/izzum-statemachine 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $xml )
__toString ( )
createFromFile ( string $filename ) : XML creates an instance of this class with the data loaded from a file.
getXML ( )
getXSD ( ) : string gets the xsd used for the datastructure of the statemachine definitions
load ( StateMachine $stateMachine ) {@inheritDoc}
toString ( )

메소드 상세

__construct() 공개 메소드

public __construct ( string $xml )
$xml string optional a valid xml string according to the schema

__toString() 공개 메소드

public __toString ( )

createFromFile() 공개 정적인 메소드

creates an instance of this class with the data loaded from a file.
public static createFromFile ( string $filename ) : XML
$filename string
리턴 XML an instance of XML with the data from the file

getXML() 공개 메소드

public getXML ( )

getXSD() 공개 메소드

gets the xsd used for the datastructure of the statemachine definitions
public getXSD ( ) : string
리턴 string

load() 공개 메소드

{@inheritDoc}
public load ( StateMachine $stateMachine )
$stateMachine izzum\statemachine\StateMachine

toString() 공개 메소드

public toString ( )