PHP 클래스 Smalot\PdfParser\Header

파일 보기 프로젝트 열기: smalot/pdfparser 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$document Document
$elements Smalot\PdfParser\Element[]

공개 메소드들

메소드 설명
__construct ( Smalot\PdfParser\Element[] $elements = [], Document $document = null )
get ( string $name ) : Smalot\PdfParser\Element | Smalot\PdfParser\Object
getDetails ( boolean $deep = true ) : array
getElementTypes ( ) : array Used only for debug.
getElements ( ) : mixed Returns all elements.
has ( string $name ) : boolean Indicate if an element name is available in header.
parse ( string $content, Document $document, integer &$position ) : Header

보호된 메소드들

메소드 설명
resolveXRef ( string $name ) : Smalot\PdfParser\Element | Smalot\PdfParser\Object Resolve XRef to object.

메소드 상세

__construct() 공개 메소드

public __construct ( Smalot\PdfParser\Element[] $elements = [], Document $document = null )
$elements Smalot\PdfParser\Element[] List of elements.
$document Document Document.

get() 공개 메소드

public get ( string $name ) : Smalot\PdfParser\Element | Smalot\PdfParser\Object
$name string
리턴 Smalot\PdfParser\Element | Smalot\PdfParser\Object

getDetails() 공개 메소드

public getDetails ( boolean $deep = true ) : array
$deep boolean
리턴 array

getElementTypes() 공개 메소드

Used only for debug.
public getElementTypes ( ) : array
리턴 array

getElements() 공개 메소드

Returns all elements.
public getElements ( ) : mixed
리턴 mixed

has() 공개 메소드

Indicate if an element name is available in header.
public has ( string $name ) : boolean
$name string The name of the element
리턴 boolean

parse() 공개 정적인 메소드

public static parse ( string $content, Document $document, integer &$position ) : Header
$content string The content to parse
$document Document The document
$position integer The new position of the cursor after parsing
리턴 Header

resolveXRef() 보호된 메소드

Resolve XRef to object.
protected resolveXRef ( string $name ) : Smalot\PdfParser\Element | Smalot\PdfParser\Object
$name string
리턴 Smalot\PdfParser\Element | Smalot\PdfParser\Object

프로퍼티 상세

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

protected Document,Smalot\PdfParser $document
리턴 Document

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

protected Element[],Smalot\PdfParser $elements
리턴 Smalot\PdfParser\Element[]