PHP 클래스 Doctrine\OXM\Marshaller\Helper\WriterHelper

This class helps simplify some of the logic behind writing xml with the eccentricities of the XmlWriter interface. It's calls inherit the same stateful considerations that are found while working directly with XmlWriter.
파일 보기 프로젝트 열기: doctrine/oxm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cursor XmlWriter
$marshaller Doctrine\OXM\Marshaller\XmlMarshaller
$streamUri string | null The stream to work with. Null assumes in-memory processing.

공개 메소드들

메소드 설명
__construct ( XmlMarshaller $marshaller, $streamUri = null )
endElement ( )
flush ( )
startElement ( $name, $prefix = null, $url = null )
writeAttribute ( $name, $value, $prefix = null, $url = null )
writeElement ( $name, $value, $prefix = null, $url = null )
writeNamespace ( $url, $prefix = null )
writeValue ( $value )

비공개 메소드들

메소드 설명
initialize ( )
needsCdataWrapping ( $value )

메소드 상세

__construct() 공개 메소드

public __construct ( XmlMarshaller $marshaller, $streamUri = null )
$marshaller Doctrine\OXM\Marshaller\XmlMarshaller

endElement() 공개 메소드

public endElement ( )

flush() 공개 메소드

public flush ( )

startElement() 공개 메소드

public startElement ( $name, $prefix = null, $url = null )

writeAttribute() 공개 메소드

public writeAttribute ( $name, $value, $prefix = null, $url = null )

writeElement() 공개 메소드

public writeElement ( $name, $value, $prefix = null, $url = null )

writeNamespace() 공개 메소드

public writeNamespace ( $url, $prefix = null )

writeValue() 공개 메소드

public writeValue ( $value )

프로퍼티 상세

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

protected XmlWriter $cursor
리턴 XmlWriter

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

protected XmlMarshaller,Doctrine\OXM\Marshaller $marshaller
리턴 Doctrine\OXM\Marshaller\XmlMarshaller

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

The stream to work with. Null assumes in-memory processing.
protected string|null $streamUri
리턴 string | null