'

Peter Downies chessPrinter

Soap Functions

Server:

http://soap.peterdownie.com/webServices/chessPrinter/server.php

Generator

: http://soap.peterdownie.com/webServices/chessPrinter/petersWebServiceClassGenerator.php

PDF Auto Documentation

:http://soap.peterdownie.com/webServices/chessPrinter/documentation_maker.php

Software Version

: 2.41k

Greater Code Name(GCN)

: Atomic

Lesser Code Name(LCN)

: Neutron

Service Version

: 1.09RC
Use the generator to call this webservice. You need to set the pieces first. To do so you need to call changePosition_fen or changePosition_array.
Once you have that set you can print out microboard. If you want to use the standard board, you need to have css set properly. To do that put the function
defaultStyle_header in your head section. If you want to see the css and edit turn the text in the function to TRUE. You are print the board.



__construct

( )
Used for testing a connection to the web service.
   Returns an array of output being SUCCESSFULLY_CONNECTED and a status of NOMINAL
At one time you could use this to set the pieces but no more. You need to make sure you call changePosition_array or changePosition_fen

board_output

( #0 board_type , #1 color , #2 options )
Possible board_type = standard, micro
Needs pieces to be set
standard needs display values in header.
Micro and standard comments should be added here.
If board is standard, if you add an array element of withTitle to it, it will show titles

changePosition

( #0 type , #1 input )
Change position is changePosition_array and changePosition_fen combined to reduce learning curve.
if type = fen then you can supply the input of the fen
if type = array then input is an array of white and black
the array contains pieces of Ke1, Pa1,Pa2 etc.

defaultStyle_header

( #0 text )
Call this function in the head to get results that look like a chess game! You need to use this along with printWhite or PrintBlack
You can now get the text value by setting text to true