ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilHTML2PDF Class Reference
+ Inheritance diagram for ilHTML2PDF:
+ Collaboration diagram for ilHTML2PDF:

Public Member Functions

 ilHTML2PDF ()
 setHTMLString ($a_html_string)
 getHTMLString ()
 setMode ($a_mode)
 getMode ()
 send ()
 Send message to remote rpc server and get response.
 __prepareHTML2PDFParams ()
- 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_HTML2PDF
 $html_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.ilHTML2PDF.php.

Member Function Documentation

ilHTML2PDF::__prepareHTML2PDFParams ( )

Definition at line 86 of file class.ilHTML2PDF.php.

References ilRPCServerAdapter\__initMessage(), and getHTMLString().

Referenced by send().

{
$this->__initMessage('HTML2PDF.ilHTML2PDF',array(new XML_RPC_Value($this->getHTMLString(),"string")));
return true;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilHTML2PDF::getHTMLString ( )

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

References $html_string.

Referenced by __prepareHTML2PDFParams().

{
}

+ Here is the caller graph for this function:

ilHTML2PDF::getMode ( )

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

References $mode.

Referenced by send().

{
return $this->mode;
}

+ Here is the caller graph for this function:

ilHTML2PDF::ilHTML2PDF ( )

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

References $ilLog, and ilRPCServerAdapter\ilRPCServerAdapter().

+ Here is the call graph for this function:

ilHTML2PDF::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.ilHTML2PDF.php.

References ilRPCServerAdapter\__initClient(), __prepareHTML2PDFParams(), getMode(), and MODE_HTML2PDF.

{
$this->__initClient();
switch($this->getMode())
{
break;
default:
$this->log->write('ilHTML2PDF(): No valid mode given');
return false;
}
return parent::send();
}

+ Here is the call graph for this function:

ilHTML2PDF::setHTMLString (   $a_html_string)

Definition at line 51 of file class.ilHTML2PDF.php.

{
$this->html_string = $a_html_string;
}
ilHTML2PDF::setMode (   $a_mode)

Definition at line 61 of file class.ilHTML2PDF.php.

{
$this->mode = $a_mode;
}

Field Documentation

ilHTML2PDF::$html_string = ''

Definition at line 41 of file class.ilHTML2PDF.php.

Referenced by getHTMLString().

ilHTML2PDF::$log = null

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

ilHTML2PDF::$mode = MODE_HTML2PDF

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

Referenced by getMode().


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