ResponseHeadersAlreadySentException.__construct ( FrameworkInterface class,
code 
)

The constructor.

Parameters:
$class Class throwing this exception
$code Code number for the exception
Returns:
void

Definition at line 32 of file class_ResponseHeadersAlreadySentException.php.

References FrameworkException.__toString().

00032                                                                        {
00033                 // Add a message around the missing class
00034                 $message = sprintf("[%s:%d] Headers are already sent!",
00035                         $class->__toString(),
00036                         $this->getLine()
00037                 );
00038 
00039                 // Call parent constructor
00040                 parent::__construct($message, $code);
00041         }

Here is the call graph for this function:


Generated on Mon Dec 8 01:17:20 2008 for Ship-Simulator by  doxygen 1.5.6