ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 ()
- Public Member Functions inherited from ilRPCServerAdapter
 ilRPCServerAdapter ()
 setResponseTimeout ($a_response_timeout)
 __checkPear ()
 __initClient ()
 Create RPC client object.
 __initMessage ($a_message_name, $params)
 Create RPC message object.

Data Fields

 $log = null
 $mode = MODE_FO2PDF
 $fo_string = ''
- Data Fields inherited from ilRPCServerAdapter
 $response_timeout = RPC_TIMEOUT
 $log = null
 $db = null
 $err = null
 $settings_obj = null
 $rpc_client = null
 $rpc_message = null

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('RPCTransformationHandler.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.

References $fo_string.

Referenced by __prepareFO2PDFParams().

{
}

+ Here is the caller graph for this function:

ilFO2PDF::getMode ( )

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

References $mode.

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(), getMode(), and MODE_FO2PDF.

{
$this->__initClient();
switch($this->getMode())
{
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.

Referenced by getFOString().

ilFO2PDF::$log = null

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

ilFO2PDF::$mode = MODE_FO2PDF

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

Referenced by getMode().


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