Public Member Functions | |
ilFO2PDF () | |
setFOString ($a_fo) | |
getFOString () | |
setMode ($a_mode) | |
getMode () | |
send () | |
Send message to remote rpc server and get response. | |
__prepareFO2PDFParams () | |
Data Fields | |
$log = null | |
$mode = MODE_FO2PDF | |
$fo_string = '' |
Definition at line 37 of file class.ilFO2PDF.php.
ilFO2PDF::__prepareFO2PDFParams | ( | ) |
Definition at line 86 of file class.ilFO2PDF.php.
References ilRPCServerAdapter::__initMessage(), and getFOString().
Referenced by send().
{ $this->__initMessage('Transformer.ilFO2PDF',array(new XML_RPC_Value($this->getFOString(),"string"))); return true; }
ilFO2PDF::getFOString | ( | ) |
Definition at line 55 of file class.ilFO2PDF.php.
Referenced by __prepareFO2PDFParams().
{
return $this->fo_string;
}
ilFO2PDF::getMode | ( | ) |
Definition at line 65 of file class.ilFO2PDF.php.
Referenced by send().
{
return $this->mode;
}
ilFO2PDF::ilFO2PDF | ( | ) |
Definition at line 43 of file class.ilFO2PDF.php.
References $ilLog, and ilRPCServerAdapter::ilRPCServerAdapter().
{ global $ilLog; parent::ilRPCServerAdapter(); }
ilFO2PDF::send | ( | ) |
Send message to remote rpc server and get response.
protected
Reimplemented from ilRPCServerAdapter.
Definition at line 70 of file class.ilFO2PDF.php.
References ilRPCServerAdapter::__initClient(), __prepareFO2PDFParams(), and getMode().
{ $this->__initClient(); switch($this->getMode()) { case MODE_FO2PDF: $this->__prepareFO2PDFParams(); break; default: $this->log->write('ilFO2PDF(): No valid mode given'); return false; } return parent::send(); }
ilFO2PDF::setFOString | ( | $ | a_fo | ) |
Definition at line 51 of file class.ilFO2PDF.php.
{ $this->fo_string = $a_fo; }
ilFO2PDF::setMode | ( | $ | a_mode | ) |
Definition at line 61 of file class.ilFO2PDF.php.
{ $this->mode = $a_mode; }
ilFO2PDF::$fo_string = '' |
Definition at line 41 of file class.ilFO2PDF.php.
ilFO2PDF::$log = null |
Reimplemented from ilRPCServerAdapter.
Definition at line 39 of file class.ilFO2PDF.php.
ilFO2PDF::$mode = MODE_FO2PDF |
Definition at line 40 of file class.ilFO2PDF.php.