Public Member Functions | Data Fields

ilFO2PDF Class Reference

Inheritance diagram for ilFO2PDF:
Collaboration diagram for ilFO2PDF:

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 = ''

Detailed Description

Definition at line 37 of file class.ilFO2PDF.php.


Member Function Documentation

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;
        }

Here is the call graph for this function:

Here is the caller graph for this function:

ilFO2PDF::getFOString (  ) 

Definition at line 55 of file class.ilFO2PDF.php.

Referenced by __prepareFO2PDFParams().

        {
                return $this->fo_string;
        }

Here is the caller graph for this function:

ilFO2PDF::getMode (  ) 

Definition at line 65 of file class.ilFO2PDF.php.

Referenced by send().

        {
                return $this->mode;
        }

Here is the caller graph for this function:

ilFO2PDF::ilFO2PDF (  ) 

Definition at line 43 of file class.ilFO2PDF.php.

References $ilLog, and ilRPCServerAdapter::ilRPCServerAdapter().

Here is the call graph for this function:

ilFO2PDF::send (  ) 

Send message to remote rpc server and get response.

Returns:
object result object. Type is depend on the calles method

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();
        }

Here is the call graph for this function:

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;
        }


Field Documentation

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.


The documentation for this class was generated from the following file: