PHP Класс PMA\libraries\plugins\schema\dia\Dia

См. также: https://secure.php.net/manual/en/book.xmlwriter.php
Наследование: extends XMLWrite\XMLWriter
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) The "Dia" constructor
endDiaDoc ( ) : void Ends Dia Document
showOutput ( string $fileName ) : void Output Dia Document for download
startDiaDoc ( string $paper, float $topMargin, float $bottomMargin, float $leftMargin, float $rightMargin, string $orientation ) : void Starts Dia Document

Описание методов

__construct() публичный Метод

Upon instantiation This starts writing the Dia XML document
public __construct ( )

endDiaDoc() публичный Метод

Ends Dia Document
public endDiaDoc ( ) : void
Результат void

showOutput() публичный Метод

Output Dia Document for download
См. также: XMLWriter::flush()
public showOutput ( string $fileName ) : void
$fileName string name of the dia document
Результат void

startDiaDoc() публичный Метод

dia document starts by first initializing dia:diagram tag then dia:diagramdata contains all the attributes that needed to define the document, then finally a Layer starts which holds all the objects.
public startDiaDoc ( string $paper, float $topMargin, float $bottomMargin, float $leftMargin, float $rightMargin, string $orientation ) : void
$paper string the size of the paper/document
$topMargin float top margin of the paper/document in cm
$bottomMargin float bottom margin of the paper/document in cm
$leftMargin float left margin of the paper/document in cm
$rightMargin float right margin of the paper/document in cm
$orientation string orientation of the document, portrait or landscape
Результат void