Class GoDiagramSGF

Description

Creates SGF file for given diagram.

Located in /sltxt2png.php (line 1041)

GoDiagram
   |
   --GoDiagramSGF
Method Summary
GoDiagramSGF __construct (GoDiagram $diagram, [string $url = ''])
string createSGF ()
Methods
Constructor __construct (line 1056)

Set up object by cloning data from $diagram

  • access: public
GoDiagramSGF __construct (GoDiagram $diagram, [string $url = ''])
  • GoDiagram $diagram: Diagram object from which data gets cloned
  • string $url: URL to insert into SGF root node

Redefinition of:
GoDiagram::__construct()
Constructor of Diagram class
createSGF (line 1106)

Create SGF from diagram

  • return: SGF data as string
  • access: public
string createSGF ()

Inherited Methods

Inherited From GoDiagram

GoDiagram::__construct()
GoDiagram::getDimensions()
GoDiagram::getEndPosition()
GoDiagram::getLinkMap()
GoDiagram::getMarkup()
GoDiagram::getMoves()
GoDiagram::getStartPosition()
GoDiagram::getTitle()
GoDiagram::isValid()

Documentation generated on Sat, 31 Oct 2009 11:21:57 +0100 by phpDocumentor 1.4.3