ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
SOAP_Attachment ($name= '', $type= 'application/octet-stream', $filename, $file=null) | |
Constructor. | |
_file2str ($file_name) | |
Returns the contents of the given file name as string. | |
Public Member Functions inherited from ilBMFValue | |
ilBMFValue ($name= '', $type=false, $value=null, $attributes=array()) | |
Constructor. | |
serialize (&$serializer) | |
Serializes this value. |
Additional Inherited Members | |
Data Fields inherited from ilBMFValue | |
$value = null | |
$name = '' | |
$type = '' | |
$namespace = '' | |
$type_namespace = '' | |
$attributes = array() | |
$arrayType = '' | |
$options = array() | |
$nqn | |
$tqn |
Definition at line 176 of file class.ilBMFValue.php.
SOAP_Attachment::_file2str | ( | $file_name | ) |
Returns the contents of the given file name as string.
private
string | $file_name | The file location. |
Definition at line 224 of file class.ilBMFValue.php.
References $file_name, and PEAR\raiseError().
Referenced by SOAP_Attachment().
SOAP_Attachment::SOAP_Attachment | ( | $name = '' , |
|
$type = 'application/octet-stream' , |
|||
$filename, | |||
$file = null |
|||
) |
Constructor.
string | $name | Name of the SOAP value <value_name> |
string | $type | The attachment's MIME type. |
string | $filename | The attachment's file name. Ignored if $file is provide. |
string | $file | The attachment data. |
Definition at line 187 of file class.ilBMFValue.php.
References $file, $filename, $GLOBALS, ilBMFValue\$name, ilBMFValue\$type, _file2str(), ilBMFValue\ilBMFValue(), PEAR\isError(), and PEAR\raiseError().