PHP 클래스 ODTDataHandler

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

보호된 프로퍼티들

프로퍼티 타입 설명
$dataSource array

공개 메소드들

메소드 설명
addCell ( $row, $cell )
addRow ( $table, $row )
alreadyInDataSource ( $objectType, $name )
createImage ( $name, $type, $binarySource )
createText ( $name, $data = null )
encodeTextForODT ( $text ) : string Wrapper function to consistently encode text where appropriate for template functionality
fillTableData ( $table, $tableData )
generateSimpleTableHashData ( array $table ) : array
getDataSource ( ) : array
getSimpleTexts ( ) : array
getTables ( ) : array
setAttribute ( $obj )
setObjType ( $obj, $type )
setTableAndSimpleTextDataFromArray ( array $data )
setTableCellData ( $table, $row, $col, $cellData )
setTableRowData ( $table, $row, $rowData )

보호된 메소드들

메소드 설명
createCell ( ) : ODTCell
createRow ( ) : ODTRow
createSimpleText ( $name ) : ODTSimpleText
createTable ( $tableName ) : ODTTable
import ( $obj )

메소드 상세

addCell() 공개 메소드

public addCell ( $row, $cell )

addRow() 공개 메소드

public addRow ( $table, $row )

alreadyInDataSource() 공개 메소드

public alreadyInDataSource ( $objectType, $name )

createCell() 보호된 메소드

protected createCell ( ) : ODTCell
리턴 ODTCell

createImage() 공개 메소드

public createImage ( $name, $type, $binarySource )

createRow() 보호된 메소드

protected createRow ( ) : ODTRow
리턴 ODTRow

createSimpleText() 보호된 메소드

protected createSimpleText ( $name ) : ODTSimpleText
$name
리턴 ODTSimpleText

createTable() 보호된 메소드

protected createTable ( $tableName ) : ODTTable
$tableName
리턴 ODTTable

createText() 공개 메소드

public createText ( $name, $data = null )

encodeTextForODT() 공개 정적인 메소드

Wrapper function to consistently encode text where appropriate for template functionality
public static encodeTextForODT ( $text ) : string
$text
리턴 string

fillTableData() 공개 메소드

public fillTableData ( $table, $tableData )

generateSimpleTableHashData() 공개 메소드

public generateSimpleTableHashData ( array $table ) : array
$table array
리턴 array

getDataSource() 공개 메소드

public getDataSource ( ) : array
리턴 array

getSimpleTexts() 공개 메소드

public getSimpleTexts ( ) : array
리턴 array

getTables() 공개 메소드

public getTables ( ) : array
리턴 array

import() 보호된 메소드

protected import ( $obj )
$obj

setAttribute() 공개 메소드

public setAttribute ( $obj )

setObjType() 공개 메소드

public setObjType ( $obj, $type )

setTableAndSimpleTextDataFromArray() 공개 메소드

setTableCellData() 공개 메소드

public setTableCellData ( $table, $row, $col, $cellData )

setTableRowData() 공개 메소드

public setTableRowData ( $table, $row, $rowData )

프로퍼티 상세

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

protected array $dataSource
리턴 array