Client
[ class tree: Client ] [ index: Client ] [ all elements ]

Class: ExportOutput

Source Location: /client/ExportPlugin.php

Class Overview


Output of an export


Variables

Methods



Class Details

[line 403]
Output of an export

Output can be either a file or a string which contains output content.




[ Top ]


Class Variables

$contents =

[line 418]



Tags:

access:  private

Type:   string


[ Top ]

$fileName =

[line 413]



Tags:

access:  private

Type:   string


[ Top ]

$filePath =

[line 408]



Tags:

access:  private

Type:   string


[ Top ]



Class Methods


constructor __construct [line 423]

ExportOutput __construct( )

Constructor



Tags:

access:  public


[ Top ]

method getContents [line 469]

string getContents( )

Returns contents if it is not null, contents of file otherwise



Tags:

return:  output contents
access:  public


[ Top ]

method getFileName [line 455]

string getFileName( )

Returns file name if the file exists, null otherwise



Tags:

return:  file name
access:  public


[ Top ]

method setContents [line 447]

void setContents( string $contents)

Sets contents

File and contents shouldn't be set together.




Tags:

access:  public


Parameters:

string   $contents   output contents

[ Top ]

method setFile [line 436]

void setFile( string $filePath, string $fileName)

Sets file name and path

File and contents shouldn't be set together.




Tags:

access:  public


Parameters:

string   $filePath   file path
string   $fileName   file name

[ Top ]


Documentation generated on Mon, 09 Sep 2013 13:30:54 +0200 by phpDocumentor 1.3.0RC3