Back to the module list

Output Text

The output text allow to return the provided data to a text format. It define the headers to inform the browser of the format.

If the data are an array, they are converted to an table to be human readable. The boolean types are converted to OK or FALSE string. The NULL type is converted to NULL string.

The class definition

Class \outputtxt

Namespace \


 Display in Text the data provided


public $table=true;
 Display an array on table format (TRUE) or tree format (FALSE)


public function out ($data)
 Display in Text the data provided
      @param mixed $data The data to be displayed