Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Attachment Class Reference
+ Inheritance diagram for Attachment:
+ Collaboration diagram for Attachment:

Public Member Functions

 __construct ($file, $name= 'att.dat', $type= 'application/binary')
 
 getMimeType ()
 
 getData ()
 
 getName ()
 

Data Fields

 $file = ''
 
 $name = ''
 
 $type = ''
 

Detailed Description

Definition at line 9 of file Class.Attachment.php.

Constructor & Destructor Documentation

__construct (   $file,
  $name = 'att.dat',
  $type = 'application/binary' 
)

Definition at line 14 of file Class.Attachment.php.

Member Function Documentation

getData ( )
Returns
string Data content

Implements DataSource.

Definition at line 24 of file Class.Attachment.php.

getMimeType ( )
Returns
string Mime type

Implements DataSource.

Definition at line 20 of file Class.Attachment.php.

getName ( )
Returns
string Name of content

Implements DataSource.

Definition at line 28 of file Class.Attachment.php.

Field Documentation

$file = ''

Definition at line 11 of file Class.Attachment.php.

$name = ''

Definition at line 12 of file Class.Attachment.php.

$type = ''

Definition at line 13 of file Class.Attachment.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen